Trivial patch for G1PrintRegionLivenessInfo

Tony Printezis tony.printezis at oracle.com
Fri Jun 11 14:41:21 UTC 2010


-XX:+PrintHeapAtGC -XX:+PrintHeapAtGCExtended will generate per-region 
information before / after each GC, so you can observe from there which 
old regions are being picked up for GC (and those parameters are enabled 
in the product). Having said that, this will generate quite a lot of output.

Tony

Peter Schuller wrote:
>> Thanks for this. In all honesty, we haven't used the
>> -XX:+G1PrintRegionLivenessInfo parameter for some time, so I don't think
>> it's really worth extending at this point.
>>     
>
> Interesting. What would you say is the best method of "observation"
> with respect to when/weather/to what extent old regions are picked for
> GC under a particular workload?
>
>   



More information about the hotspot-gc-dev mailing list