RFR: 8365146: Remove LockingMode related code from ppc64

Fredrik Bredberg fbredberg at openjdk.org
Fri Aug 8 14:19:50 UTC 2025


On Fri, 8 Aug 2025 12:53:10 GMT, Fredrik Bredberg <fbredberg 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, 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 **ppc64le** 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.

@TheRealMDoerr (or @reinrich)
I've run rudimentary tests using QEMU, but it would be nice if you could take it for a spin on real hardware.

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

PR Comment: https://git.openjdk.org/jdk/pull/26697#issuecomment-3168108697


More information about the hotspot-runtime-dev mailing list