CRR (S/M): 7049999: G1: Make the G1PrintHeapRegions output consistent and complete

Tony Printezis tony.printezis at oracle.com
Fri Jun 24 02:31:57 UTC 2011


Hi all,

All set. Many thanks to John Cuthbertson and Jon Masa for the super 
prompt code reviews on this!

Tony

On 06/23/2011 12:06 PM, Tony Printezis wrote:
> Hi all,
>
> Is anyone looking at this? Any chance of getting it reviewed soon-sh 
> so that I can push it by tomorrow?
>
> Tony
>
> On 06/21/2011 03:34 PM, Tony Printezis wrote:
>> Hi,
>>
>> Could I get a couple of folks to look at this?
>>
>> http://cr.openjdk.java.net/~tonyp/7049999/webrev.0/
>>
>> +G1PrintHeapRegions is a very helpful debugging feature that we have 
>> used a lot in the past. It'll be very helpful in the long run to 
>> ensure that it generates more complete output to save us having to 
>> deduce some of it. What was missing in the past was:
>>
>> * output for humongous region allocations
>> * output per region post compaction (as compaction changes the shape 
>> of the heap)
>> * output when regions are reclaimed during cleanup
>>
>> Further enhancements include:
>>
>> * commit / uncommit events
>> * trimmed the output to keep the generated log files smaller while 
>> not losing any information
>> * introduced the G1HRPrinter class and all output goes through it to 
>> ensure consistency
>>
>> I attached an example of the new output.
>>
>> Tony
>>



More information about the hotspot-gc-dev mailing list