On Tue, 10 Feb 2026 07:43:52 GMT, Thomas Stuefe <[email protected]> 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

Reply via email to