RFR(S) 8151633: Don't keep copies of the survivor lists and counts in the G1CollectorPolicy

Mikael Gerdin mikael.gerdin at oracle.com
Thu Mar 10 16:05:40 UTC 2016

Hi Tom,

On 2016-03-10 17:04, Tom Benson wrote:
> Hi Mikael,
> Looks good to me.  I just noticed g1MonitoringSupport.cpp needs a
> copyright bump.

Thanks for the review, I'll update the copyright year before pushing.


> Tom
> On 3/10/2016 10:40 AM, Mikael Gerdin wrote:
>> Hi all,
>> G1CollectorPolicy contains copies of the linked list heads and tails
>> present in YoungList.
>> In order to reduce the size of the G1CollectorPolicy, I suggest we
>> remove them and have the policy access the ones in YoungList instead.
>> Webrev: http://cr.openjdk.java.net/~mgerdin/8151633/webrev.0/
>> Bug: https://bugs.openjdk.java.net/browse/JDK-8151633
>> Testing: JPRT (including runs with assertions that the pointers and
>> lenght are in fact equal)
>> /Mikael

More information about the hotspot-gc-dev mailing list