[lilliput-jdk21u:lilliput] RFR: 8329091: [Lilliput/JDK21] Fix tests after LM_LIGHTWEIGHT backports
Roman Kennke
rkennke at openjdk.org
Tue Mar 26 17:18:37 UTC 2024
On Tue, 26 Mar 2024 17:03:09 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:
>> A few tests explicitely test LM_LIGHTWEIGHT locking-mode. In JDK22, LM_LIGHTWEIGHT became a non-experimental product option. Some tests that have been backported from JDK>=22 requires -XX:+UnlockExperimentalVMOptions in JDK21.
>>
>> Testing:
>> - [x] tier1
>> - [x] tier2
>
> test/jdk/com/sun/jdi/EATests.java line 2002:
>
>> 2000: lockInflatedByContention = new XYVal(1, 1);
>> 2001: // Start thread that tries to enter lockInflatedByContention while the main thread owns it -> inflation
>> 2002: TestScaffold.newThread(() -> {
>
> Is this neccessary?
Yes, DebuggeeWrapper doesn't exist in 21. I believe it's a rename from 'TestScaffold'.
-------------
PR Review Comment: https://git.openjdk.org/lilliput-jdk21u/pull/29#discussion_r1539766180
More information about the lilliput-dev
mailing list