[master] RFR: 8300440: [Lilliput] Implement alternative fast-locking scheme

Roman Kennke rkennke at openjdk.org
Wed Jan 18 08:22:07 UTC 2023


This cherry-picks https://github.com/openjdk/jdk/pull/10907 before it lands in mainline JDK. It will:
- Greatly simply access to the header in the face of racy stack-locking
- Enable some optimizations in various places, most importantly accessing Klass* and i-hash
- Enable full SA support
- Enable full ZGC support
- Enable adding a runtime flag to turn on/off Lilliput

However, this PR implements none of the above. It is a straight port of the upstream change, and fast-locking is *not yet* enabled with Lilliput. This is going to happen in a follow-up PR.

Testing and performance impact, see upstream PR.

Ok to push to Lilliput?

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

Commit messages:
 - 8300440: [Lilliput] Implement alternative fast-locking scheme

Changes: https://git.openjdk.org/lilliput/pull/62/files
 Webrev: https://webrevs.openjdk.org/?repo=lilliput&pr=62&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8300440
  Stats: 1925 lines in 74 files changed: 1213 ins; 97 del; 615 mod
  Patch: https://git.openjdk.org/lilliput/pull/62.diff
  Fetch: git fetch https://git.openjdk.org/lilliput pull/62/head:pull/62

PR: https://git.openjdk.org/lilliput/pull/62


More information about the lilliput-dev mailing list