I don't know, but I don't see why not.

If you look at java.lang.{Memory,GarbageCollector,MemoryPool}, there are 
a lot of values you can look at, including the details on eden and old.

You can even register for notifications when free memory drops below a 
certain threshold, but I've never tried this out and I heard some impls 
don't provide this...


On 1/31/12 3:32 PM, Tristan Tarrant wrote:
> On 01/31/2012 03:32 PM, Bela Ban wrote:
>> IIRC you can look at the size of the young and old generation via JMX,
>> and there you can see how much memory has accumulated.
> Does that work when using G1 ?
>
> Tristan
> _______________________________________________
> infinispan-dev mailing list
> [email protected]
> https://lists.jboss.org/mailman/listinfo/infinispan-dev

-- 
Bela Ban
Lead JGroups (http://www.jgroups.org)
JBoss / Red Hat
_______________________________________________
infinispan-dev mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/infinispan-dev

Reply via email to