RFR: 8307532: Implement LM_LIGHTWEIGHT for Zero [v2]
Roman Kennke
rkennke at openjdk.org
Tue Oct 1 13:46:11 UTC 2024
> 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
Roman Kennke has updated the pull request incrementally with two additional commits since the last revision:
- Don't use monitor cache with Zero
- Enable object monitor cache for zero
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/21220/files
- new: https://git.openjdk.org/jdk/pull/21220/files/50cec4b9..f5590ec0
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=21220&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=21220&range=00-01
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/21220.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/21220/head:pull/21220
PR: https://git.openjdk.org/jdk/pull/21220
More information about the hotspot-dev
mailing list