Integrated: 8319901: Recursive lightweight locking: ppc64le implementation

Axel Boldt-Christmas aboldtch at openjdk.org
Mon Mar 4 16:04:01 UTC 2024


On Fri, 10 Nov 2023 13:21:58 GMT, Axel Boldt-Christmas <aboldtch at openjdk.org> wrote:

> Draft implementation of recursive lightweight JDK-8319796 for ppc64le.
> 
> Porters feel free to discard this and implement something from scratch, take this initial draft and run with it, or send patches to me and if you want me to drive the PR.
> 
> Some notes:
> ppc64le deviates from the other ports, it shares it C2 locking code with the native call wrapper. This draft unifies the behavior across the ports by using the C1/interpreter locking for native call wrapper. If it is important to have a fast path for the inflated monitor case for native call wrapper, it could be done without having it share its implementation with C2. 
> It would also be possible to change this behavior on all ports (share the C2 code), as I believe the C2 assumptions always hold for the native call wrapper, the monitor exit and monitor enter will be balanced and structured.

This pull request has now been integrated.

Changeset: b5cd7efc
Author:    Axel Boldt-Christmas <aboldtch at openjdk.org>
Committer: Martin Doerr <mdoerr at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/b5cd7efcebe0daaf8a85f0f32b65a3bd446674ef
Stats:     509 lines in 9 files changed: 409 ins; 65 del; 35 mod

8319901: Recursive lightweight locking: ppc64le implementation

Co-authored-by: Martin Doerr <mdoerr at openjdk.org>
Reviewed-by: mdoerr, rrich

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

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


More information about the hotspot-dev mailing list