RFR: 8367982: Unify ObjectSynchronizer and LightweightSynchronizer [v2]

Boris Ulasevich bulasevich at openjdk.org
Wed Nov 5 16:03:41 UTC 2025


On Tue, 4 Nov 2025 13:46:22 GMT, Fredrik Bredberg <fbredberg at openjdk.org> wrote:

>> src/hotspot/share/runtime/abstract_vm_version.hpp line 195:
>> 
>>> 193: 
>>> 194:   // Is recursive fast locking implemented for this platform?
>>> 195:   constexpr static bool supports_recursive_fast_locking() { return false; }
>> 
>> Next cleanup: this is supported on all platforms now, so we can get rid of this migration aid.
>
> Not sure we can do that, since I don't find any implementation of recursive fast locking on ARM32.
> @bulasevich Any comment on this?

Recursive lightweight locking (JDK-8319796) was implemented for x86, AArch64, PPC64LE, RISC-V64, and S390, but not for ARM32.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/27915#discussion_r2495179254


More information about the hotspot-dev mailing list