RFR: 8340453: C2: Improve encoding of LoadNKlass for compact headers [v2]

Dean Long dlong at openjdk.org
Fri Nov 15 21:09:51 UTC 2024


On Thu, 14 Nov 2024 07:21:22 GMT, Roman Kennke <rkennke at openjdk.org> wrote:

> > It looks like this only works for little-endian. Is that documented somewhere?
> 
> I am not sure what you mean. This change is about x86_64 and aarch64, and both are little-endian. The layout of the mark-word is documented in markWord.hpp. Is that what you are looking for?

Wouldn't klass_offset_in_bytes need to have a different value for big-endian?

-------------

PR Comment: https://git.openjdk.org/jdk/pull/22078#issuecomment-2479923097


More information about the hotspot-compiler-dev mailing list