Is it possible to reimplement 64-bit object header based on improved i-hash?
Glavo
zjx001202 at gmail.com
Wed Apr 9 17:01:19 UTC 2025
Just a whim: Is it possible to reimplement 64-bit object header based on
improved i-hash?
Compared to JEP 450, I feel like this seems more suitable as the default
behavior of the JVM.
This will not limit the number of classes and will reserve enough bits in
the mark word for new GC or other things.
It will also be easier to expand to 64-bit/128-bit i-hash in the future.
I think it's a perfect evolution of the current 96-bit object header.
As for Lilliput 2, although it is very good, it reserves too few bits for
mark words.
Therefore, even if it is delivered, a 64-bit object header implementation
may be retained for a long time in the future to cope with possible future
needs.
Glavo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/lilliput-dev/attachments/20250410/4f319d7c/attachment-0001.htm>
More information about the lilliput-dev
mailing list