RFR (XXS): 8133042: Remove some direct accesses of G1Allocator::reuse_retained_old_region() to G1CollectedHeap members

Jesper Wilhelmsson jesper.wilhelmsson at oracle.com
Wed Aug 5 14:19:50 UTC 2015

Looks good!

Thomas Schatzl skrev den 5/8/15 13:59:
> Hi all,
>    could I have reviews of this tiny change that changes some direct
> private member accesses of G1Allocator to G1CollectedHeap to some
> already available public method calls?
> While this is more a cosmetic change, I thought it would be good to
> decrease the amount of "friendliness" between those two classes. I could
> not find a good other CR to add them, so here we are....
> CR:
> https://bugs.openjdk.java.net/browse/JDK-8133042
> Webrev:
> http://cr.openjdk.java.net/~tschatzl/8133042/webrev/
> Testing:
> local compilation
> Thanks,
>    Thomas

More information about the hotspot-gc-dev mailing list