Introduce "region type" field to G1 HeapRegions
Thomas Schatzl
thomas.schatzl at oracle.com
Mon Sep 15 09:37:55 UTC 2014
Hi,
On Fri, 2014-09-12 at 22:45 -0400, Tony Printezis wrote:
> Hi Bengt, Thanks for looking at it. Please see inline.
>
> On 9/12/14, 8:20 AM, Bengt Rutisson wrote:
> >
> > Hi Tony,
> >
> > Nice cleanup! I like it!
> >
I agree with Bengt here.
[...]
> The new webrev is here:
>
> http://cr.openjdk.java.net/~tonyp/g1-region-type/webrev.2/
>
> And these are the diffs over the previous one:
>
> http://cr.openjdk.java.net/~tonyp/g1-region-type/webrev.2.diff/
>
> Thanks again. BTW, I don't know your current policy: Is this a change
> you'll be interested in back-porting to JDK 8?
>
> Tony
Looks good. Two last minor things I have:
- in g1HotCardCache.cpp the include to heapRegion.hpp is not required
any more.
I think Bengt could simply fix that before pushing.
- the order of words in the humongous region types is not used
consistently: the tag values are called HumStarts/Cont, but the methods
set/is_continues_humongous().
I.e. the position of the type of humongous region changes within the
method name which seems without reason.
It's not a big issue. If needed, this may as well be fixed in the
isHumongous()/continuesHumongous() method naming cleanup.
Thanks,
Thomas
More information about the hotspot-gc-dev
mailing list