Integrated: 8364406: Remove LockingMode related code from aarch64

Fredrik Bredberg fbredberg at openjdk.org
Tue Aug 12 08:48:19 UTC 2025


On Fri, 1 Aug 2025 11:22:50 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 **aarch64** 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.
> 
> Passes tier1-tier5 with no added problems.

This pull request has now been integrated.

Changeset: 3c0eed8e
Author:    Fredrik Bredberg <fbredberg at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/3c0eed8e476e4da540e4ea44ee966f278e04a067
Stats:     577 lines in 9 files changed: 10 ins; 521 del; 46 mod

8364406: Remove LockingMode related code from aarch64

Reviewed-by: aph, dholmes

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

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


More information about the hotspot-runtime-dev mailing list