RFR: 8256425: Obsolete Biased Locking in JDK 18 [v4]
Richard Reingruber
rrich at openjdk.java.net
Sun Jun 20 23:08:31 UTC 2021
On Fri, 18 Jun 2021 19:19:25 GMT, Patricio Chilano Mateo <pchilanomate at openjdk.org> wrote:
>> test/jdk/com/sun/jdi/EATests.java line 235:
>>
>>> 233: // Relocking test cases
>>> 234: new EARelockingSimpleTarget() .run();
>>> 235: new EARelockingSimple_2Target() .run();
>>
>> I know all the tests that were removed mention biased locking in the comments, but do they require biased locking to function properly? I'm just wondering if we might get better EA test coverage if they are left in place.
>
> They are trying to exercise some biased locking specific paths, but maybe @reinrich can comment on wether it is worth keeping them since he wrote the tests.
The test cases are very specific to biased locking. It is not worth keeping them.
-------------
PR: https://git.openjdk.java.net/jdk/pull/4522
More information about the hotspot-runtime-dev
mailing list