RFR (trivial): 8216285: Enable inlining of CollectedHeap::obj-/array-/class_allocate

Claes Redestad claes.redestad at oracle.com
Tue Jan 8 11:38:56 UTC 2019


On 2019-01-08 12:28, Roman Kennke wrote:
> Those methods are virtual. How useful is it to flag them 'inline' ?

Useful enough to measurably save a few ns/op on Array.newInstance and
Object.clone microbenchmarks (when running TieredStopAtLevel=1 to stay
in the JNI slow path).

/Claes



More information about the hotspot-gc-dev mailing list