RFR: 8027643 - Merge GenCollectorPolicy and TwoGenerationCollectorPolicy

Stefan Johansson stefan.johansson at oracle.com
Wed Apr 30 11:29:44 UTC 2014


Hi Jesper,

The change looks good.

Do the further cleanups you mention include getting rid of the 
_generations array in GenCollectorPolicy and instead having a 
GenerationSpec for young and one for old? If not, I think that is 
something that should be added in upcoming one, since the policy no 
longer supports anything but 2 generations.

Cheers,
Stefan

On 2014-04-30 00:28, Jesper Wilhelmsson wrote:
> Hi,
>
> This is another step in cleaning up the collector policy code. It is 
> the first of a few related patches. This change merges the 
> GenCollectorPolicy class with TwoGenerationalCollectorPolicy.
>
> I have deliberately refrained from doing any other cleanups that is 
> made possible by this change. That will come in later changes. That 
> makes this change really easy to review :-)
>
> Webrev: http://cr.openjdk.java.net/~jwilhelm/8027643/webrev/
>
> Bug: https://bugs.openjdk.java.net/browse/JDK-8027643
>
> Thanks!
> /Jesper




More information about the hotspot-gc-dev mailing list