RFR (trivial): 8216285: Enable inlining of CollectedHeap::obj-/array-/class_allocate
Roman Kennke
rkennke at redhat.com
Tue Jan 8 11:35:56 UTC 2019
>> 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).
If a method is virtual, it cannot be inlined, right? Unless you call it
in a funny non-virtual way. Or what am I missing?
Roman
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://mail.openjdk.org/pipermail/hotspot-gc-dev/attachments/20190108/a7a312f3/signature.asc>
More information about the hotspot-gc-dev
mailing list