Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] Memory Usage =~ k * P * T [ Spring 2.5.6, AspectJ 1.6.5 ]

>
> So, I ran smaller version of my test (which doesn't involve as many
> types) with 1.6.10-RC1, and the number of ReferenceType objects
> dropped by ~30% (from 260,000 to 180,000 for this test). As far as I
> can tell, this is because it adjusted k - the number of ReferenceTypes
> per application type.
>

Some more statistics from this run, just for information and to show
the improvements between 1.6.5 and 1.6.10-RC1.

The number of Weak References  between 1.6.5 and 1.6.10.RC1 increased
from 80,000 to 715,000.
The number of Soft References dropped form 54,000 to 26,000.
The total number of references of all kind, dropped from 12,172,000 to
11,018,000.
The total heap usage dropped from 326MB to 297MB.
The total number of objects actually increased by 173,000 (from 3.91 *
10^6 -> 4.08 * 10^6 )
The number of heap roots dropped from 11646 to 6081
The number of ReferenceQueues dropped from 15627 to 2237
The number of ResolvedType arrays increased from 291390 to 308783

A caveat on my test is that it involved starting a JVM from scratch
and executing a single scenario.

I haven't tested the JVM under sustained load, or left it running for
extended periods.

jon.


Back to the top