RFR: 8365190: Remove LockingMode related code from share
Fredrik Bredberg
fbredberg at openjdk.org
Thu Sep 4 09:32:44 UTC 2025
On Tue, 2 Sep 2025 20:11:15 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:
>> Since the integration of [JDK-8359437](https://bugs.openjdk.org/browse/JDK-8359437) the `LockingMode` flag can no longer be set by the user. After that, a number of PRs has been integrated which has removed all `LockingMode` related code from all platforms (except from zero, which is done in this PR).
>>
>> This PR removes `LockingMode` related code from the shared (non-platform specific) files. It also removes the `LockingMode` variable itself.
>>
>> Passes tier1-tier5 with no added problems.
>
> src/hotspot/share/jvmci/vmStructs_jvmci.cpp line 344:
>
>> 342: volatile_nonstatic_field(ObjectMonitor, _entry_list, ObjectWaiter*) \
>> 343: volatile_nonstatic_field(ObjectMonitor, _succ, int64_t) \
>> 344: volatile_nonstatic_field(ObjectMonitor, _stack_locker, BasicLock*) \
>
> There are some jvmci tests that check that the java side of jvmci matches, ie:
>
> make test TEST=compiler/jvmci
Tried that and got:
`TEST SUCCESS`
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/27041#discussion_r2321428734
More information about the hotspot-dev
mailing list