RFR: 8319799: Recursive lightweight locking: x86 implementation [v10]
Axel Boldt-Christmas
aboldtch at openjdk.org
Tue Jan 23 14:50:00 UTC 2024
On Tue, 23 Jan 2024 14:43:04 GMT, Axel Boldt-Christmas <aboldtch at openjdk.org> wrote:
>> Hmm now that I think about it can still happen that it inflates a fast locked lock. If a third thread enters at the same time.
>
> But regardless all paths which commit to a pop also fixes the owner. So we do not need the anonymous owner fix in fast_unlock.
I removed the comment and the anonymous owner fix. Did not add an ASSERT check as the runtime asserts the same thing.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/16607#discussion_r1463392032
More information about the hotspot-dev
mailing list