RFR: 8319799: Recursive lightweight locking: x86 implementation [v9]

Axel Boldt-Christmas aboldtch at openjdk.org
Fri Jan 19 10:07:28 UTC 2024


On Fri, 19 Jan 2024 09:56:19 GMT, Axel Boldt-Christmas <aboldtch at openjdk.org> wrote:

>> src/hotspot/cpu/x86/c2_CodeStubs_x86.cpp line 104:
>> 
>>> 102:     // continuation is the slow_path.
>>> 103:     __ jmp(continuation());
>>> 104:   }
>> 
>> It seems like two stubs small stubs might be better since they don't really share very much (?) rather than one with two entry points and two exit points.
>
> That sounds like a good idea. Will see how it ends up.

It is a little bit awkward that they both have to restore the held monitor count.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/16607#discussion_r1458708429


More information about the hotspot-dev mailing list