RFR: 8305895: Implementation: JEP 450: Compact Object Headers (Experimental) [v3]

Aleksey Shipilev shade at openjdk.org
Wed May 10 11:28:53 UTC 2023


On Wed, 10 May 2023 10:26:14 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

>> Roman Kennke has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Allow to resolve mark with LW locking
>
> test/jdk/java/lang/instrument/GetObjectSizeIntrinsicsTest.java line 376:
> 
>> 374:     private static long expectedSmallObjSize() {
>> 375:         long size;
>> 376:         if (!Platform.is64bit() || WhiteBox.getWhiteBox().getBooleanVMFlag("UseCompactObjectHeaders")) {
> 
> `private static final boolean COMPACT_HEADERS = ...` again? Would make a negation cleaner too.

I am surprised other tests are not affected by this...

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

PR Review Comment: https://git.openjdk.org/jdk/pull/13844#discussion_r1189703116


More information about the shenandoah-dev mailing list