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

Coleen Phillimore coleenp at openjdk.org
Mon Jan 22 13:51:29 UTC 2024


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

>> 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.

Ok, I've looked at the control flow more, which is not simple.  Both have the slow path continuation() exit, and only the exiting with a successor has the unlocked exit.  Can you rename continuation() to slow_path() because continuation doesn't help.

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

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


More information about the hotspot-dev mailing list