CRR: 7027766: G1: introduce flag to dump the liveness information per region at the end of marking (S)

Jesper Wilhelmsson jesper.wilhelmsson at oracle.com
Fri Apr 1 11:44:03 UTC 2011


Tony,

Why are the new formatting macros G1 specific?  Wouldn't it be better to have 
a generic set of formatting macros that we can use all over the GC code?

I'm not saying we should change the rest of the GC code to use these macros 
right now, but since you are introducing new functionality I think it would be 
nice if that functionality could be used by all GCs.
/Jesper


On 03/25/2011 06:20 PM, Tony Printezis wrote:
> Hi,
>
> I'd like a couple of reviewers to have a look at this change:
>
> http://cr.openjdk.java.net/~tonyp/7027766/webrev.0/
>
> I ended up repurposing the existing develop flag G1PrintRegionLivenessInfo for
> this (I had actually forgotten it was there!) and I print the liveness
> information at the end of marking twice:
>
> - Info for all regions after we finalize the marking information, which means
> we have both the latest marking information as well as the previous marking
> information available.
> - The same info but for all sorted old regions.
>
> I attached example output.
>
> Tony



More information about the hotspot-gc-dev mailing list