RFR: 8363996: Obsolete UseCompressedClassPointers [v5]

David Holmes dholmes at openjdk.org
Wed Feb 11 09:41:02 UTC 2026


On Tue, 10 Feb 2026 07:43:52 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:

>> test/jdk/jdk/jfr/event/gc/objectcount/ObjectCountEventVerifier.java line 73:
>> 
>>> 71:         boolean runsOn32Bit = System.getProperty("sun.arch.data.model").equals("32");
>>> 72:         int bytesPerWord = runsOn32Bit ? 4 : 8;
>>> 73:         int objectHeaderSize = runsOn32Bit ? 12 : 16;
>> 
>> This seems a separate bug fix. ??
>
> See comment here: https://github.com/openjdk/jdk/pull/28366#discussion_r2781992992
> 
> The old tests using this function did run with explicit uncompressed class pointers. I want to reuse the test, so I had to fix it to be able to run with compressed class pointers. With -UCCP, array headers for object arrays are 24 bytes; for +UCCP, array headers are 16 byte.

Sorry this github UI makes it hard to see things sometimes.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/28366#discussion_r2790743348


More information about the serviceability-dev mailing list