[master] RFR: OMWorld: Remove BasicLock* restrictions
Axel Boldt-Christmas
aboldtch at openjdk.org
Tue Apr 23 11:59:04 UTC 2024
This is based on #159
The main idea is to remove the restrictions where the `BasicLock*` may be missing when calling into the runtime. This is only an issue on x86_32. For now simply call into the runtime at the places where the registers are lacking. `quick_enter` should take care of the cases where we otherwise would have skipped calling into the runtime, as x86_32 calls into the runtime regardless (to get the thread) this may even be performance neutral.
-------------
Commit messages:
- Merge branch 'usptream_lilliput:pr/159' into lilliput-om-always-take-basiclock
- Introduce CacheSetter and move cache updates out of inflate_and_enter
- Update src/hotspot/share/runtime/lightweightSynchronizer.hpp
- Cleanup after 24ed7d7: Fix missed lock change
- Remove x86_32 imposed limitations on BasicLock*
- Unify x86 and x64 C2_MacroAssembler::fast_unlock_lightweight
- Remove monitorenter_obj
- Fix missed lock change
- Cleanup ObjectMonitor::enter and LightweightSynchronizer::inflate_and_enter
- Cleanup and fix enter / enter_for distinction
Changes: https://git.openjdk.org/lilliput/pull/160/files
Webrev: https://webrevs.openjdk.org/?repo=lilliput&pr=160&range=00
Stats: 404 lines in 16 files changed: 143 ins; 148 del; 113 mod
Patch: https://git.openjdk.org/lilliput/pull/160.diff
Fetch: git fetch https://git.openjdk.org/lilliput.git pull/160/head:pull/160
PR: https://git.openjdk.org/lilliput/pull/160
More information about the lilliput-dev
mailing list