When decoding a narrow Klass, we need three separate infos:
- encoding base and shift
- the value of UseCompressedClassPointers
Once Lilliput is here, we'll need a fourth, UseCOH.
With static c++, we cannot encode those values as immediates like we do in compiled code, but we could at least pack them together to load all of them with a single 64bit load.
- encoding base and shift
- the value of UseCompressedClassPointers
Once Lilliput is here, we'll need a fourth, UseCOH.
With static c++, we cannot encode those values as immediates like we do in compiled code, but we could at least pack them together to load all of them with a single 64bit load.
- links to
-
Review openjdk/jdk/15389