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

Per Liden per.liden at oracle.com
Mon Aug 5 10:08:44 UTC 2019

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


More information about the hotspot-gc-dev mailing list