Question about OopOopIterateDispatch and TypeArrayKlass
Thomas Stüfe
thomas.stuefe at gmail.com
Tue Jul 9 08:11:15 UTC 2024
Hi,
I have a small question about OopOopIterateDispatch and TypeArrayKlass.
In OopOopIterateXXXDispatch, we branch off, using a precalculated jump
table, to the correct oop iteration method for the object Klass. We do this
for all Klass-kind variants, including TypeArrayKlassKind.
However, TAK needs neither oop- nor metadata iteration.
Was the inclusion of TAK into these arrays a deliberate choice? Was it
faster than adding a conditional branch to avoid the jump altogether if
kind==TAK ?
Thanks, Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/hotspot-gc-dev/attachments/20240709/79002ed8/attachment.htm>
More information about the hotspot-gc-dev
mailing list