Integrated: 8307532: Implement LM_LIGHTWEIGHT for Zero
Roman Kennke
rkennke at openjdk.org
Wed Oct 2 13:30:38 UTC 2024
On Fri, 27 Sep 2024 15:16:52 GMT, Roman Kennke <rkennke at openjdk.org> wrote:
> This implements the remaining parts of LW locking in Zero. Much of the work has already been done by Axel, this basically only implements the missing part that handles synchronized JNI entries. I basically preserved the LM_LEGACY case, except that I shuffled the code a little to match what we do in monitorexit case in bytecodeInterpreter.cpp (but should be functionally equivalent). The LM_LIGHTWEIGHT and LM_MONITOR case (the latter of which has been broken, before) simply call into the runtime.
>
> With this change, we can now remove the block in arguments.cpp that deals with missing LM_LIGHTWEIGHT support.
>
> Testing:
> - [x] bootcycle-images
> - [x] java -jar jcstress-latest.jar -tb 1h
This pull request has now been integrated.
Changeset: 5e980072
Author: Roman Kennke <rkennke at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/5e9800721a29dbb85be76a6f56c2e2677a3274f2
Stats: 36 lines in 4 files changed: 4 ins; 16 del; 16 mod
8307532: Implement LM_LIGHTWEIGHT for Zero
Reviewed-by: aboldtch, jwaters
-------------
PR: https://git.openjdk.org/jdk/pull/21220
More information about the hotspot-dev
mailing list