RFR: 8229127: Make some methods in the allocation path non-virtual

Per Liden per.liden at oracle.com
Mon Aug 5 11:55:53 UTC 2019


Thanks Erik!

/Per

On 8/5/19 1:50 PM, Erik Österlund wrote:
> Hi Per,
> 
> Looks good and trivial.
> 
> Thanks,
> /Erik
> 
> On 2019-08-05 12:08, Per Liden wrote:
>> Some virtual methods in the allocation path are no longer overridden 
>> by any GC, so we can make them non-virtual until such a need arise 
>> again. Keeping CollectedHeap::array_allocate() virtual because ZGC 
>> still wants to override that path (as part of JDK-8227226, which is 
>> currently out for review).
>>
>> Bug: https://bugs.openjdk.java.net/browse/JDK-8229127
>> Webrev: http://cr.openjdk.java.net/~pliden/8229127/webrev.0
>>
>> /Per
> 



More information about the hotspot-gc-dev mailing list