RFR: 8198511: Move allocation functions from GenCollectorPolicy to GenCollectedHeap

Stefan Johansson stefan.johansson at oracle.com
Thu Feb 22 13:06:14 UTC 2018


Looks good,

StefanJ

On 2018-02-22 13:59, Per Liden wrote:
> Looks good!
>
> /Per
>
> On 02/21/2018 03:37 PM, Stefan Karlsson wrote:
>> Hi all,
>>
>> Please review this patch that moves the allocation functions out from 
>> GenCollectorPolicy into GenCollectedHeap.
>>
>>   http://cr.openjdk.java.net/~stefank/8198511/webrev.01/
>>   https://bugs.openjdk.java.net/browse/JDK-8198511
>>
>> The patch simply moves the function to GenCollectedHeap, removes a 
>> bunch of gch-> indirections that are not needed anymore, and adds a 
>> small number of gen_policy()-> indirections.
>>
>> The patch is a step towards:
>>   https://bugs.openjdk.java.net/browse/JDK-8198505
>>
>> Thanks,
>> StefanK



More information about the hotspot-gc-dev mailing list