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

Tom Benson tom.benson at oracle.com
Thu Mar 10 16:04:08 UTC 2016

Hi Mikael,
Looks good to me.  I just noticed g1MonitoringSupport.cpp needs a 
copyright bump.

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