RFR: 8339939: [JVMCI] Don't compress abstract and interface Klasses
Yudi Zheng
yzheng at openjdk.org
Wed Sep 18 09:52:06 UTC 2024
On Tue, 17 Sep 2024 10:42:12 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:
>> src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/hotspot/HotSpotConstant.java line 29:
>>
>>> 27: /**
>>> 28: * Marker interface for hotspot specific constants.
>>> 29: */
>>
>> Let's take this opportunity to improve this javadoc:
>>
>> /**
>> * A value in a space managed by Hotspot (e.g. heap or metaspace).
>> * Some of these values can be referenced with a compressed pointer (32 bits)
>> * instead of a full word-sized pointer.
>> */
>
> drive-by comment, 32-bit is an implementation detail. The width of a narrowKlass will be adjustable with the upcoming JEP450. Referring to 32 bit may be obsolete soon.
Thanks for the note! By adjustable you mean it can go beyond 32 bits?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/20949#discussion_r1764760056
More information about the hotspot-compiler-dev
mailing list