RFR: 8365188: Remove LockingMode related code from s390

Fredrik Bredberg fbredberg at openjdk.org
Thu Aug 14 14:18:46 UTC 2025


Since the integration of [JDK-8359437](https://bugs.openjdk.org/browse/JDK-8359437) the `LockingMode` flag can no longer be set by the user, instead it's declared as `const int LockingMode = LM_LIGHTWEIGHT;`. This means that we can now safely remove all `LockingMode` related code from all platforms.

This PR removes `LockingMode` related code from the **s390** platform.

When all the `LockingMode` code has been removed from all platforms, we can go on and remove it from shared (non-platform specific) files as well. And finally remove the `LockingMode` variable itself.

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

Commit messages:
 - Merge branch 'master' into 8365188_remove_lockingmode_s390
 - 8365188: Remove LockingMode related code from s390

Changes: https://git.openjdk.org/jdk/pull/26772/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=26772&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8365188
  Stats: 498 lines in 7 files changed: 0 ins; 486 del; 12 mod
  Patch: https://git.openjdk.org/jdk/pull/26772.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/26772/head:pull/26772

PR: https://git.openjdk.org/jdk/pull/26772


More information about the hotspot-runtime-dev mailing list