RFR: 8198525: Move _size_policy out of GenCollectorPolicy into GenCollectedHeap

Stefan Johansson stefan.johansson at oracle.com
Thu Feb 22 13:36:48 UTC 2018

Looks good,

I found that G1CollectedHeap also implements a virtual 
AdaptiveSizePolicy* size_policy(), but it is never used. It would be 
nice to remove it.


On 2018-02-21 21:03, Stefan Karlsson wrote:
> Hi all,
> Please review this patch to move the _size_all (AdaptiveSizePolicy) 
> from GenCollectorPolicy to GenCollectedHeap.
>  http://cr.openjdk.java.net/~stefank/8198525/webrev.01/
>  https://bugs.openjdk.java.net/browse/JDK-8198525
> This is a step towards the removal of CollectorPolicy:
>  https://bugs.openjdk.java.net/browse/JDK-8198505
> Thanks,
> StefanK

More information about the hotspot-gc-dev mailing list