[lilliput-jdk17u:lilliput] RFR: 8302210: [Lilliput/JDK17] Optimize fix-anon monitor owner path [v5]
Roman Kennke
rkennke at openjdk.org
Fri Mar 10 08:59:16 UTC 2023
> When trying to exit a monitor, we need to check if the current owner is anonymous, and if so, fix it before exiting the monitor. So far, we have been doing this by calling into the slow-path and handle it in the runtime. However, it is fairly easy to do in the fast-path and avoid calling into the runtime altogether.
>
> Testing:
> - [x] tier1 (x86_64, aarch64)
> - [ ] tier2 (x86_64, aarch64)
> - [ ] jcstress -t sync -m quick (x86_64, aarch64)
Roman Kennke has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains three additional commits since the last revision:
- Merge branch 'lilliput' into JDK-8302210
- Some changes to keep in sync with JDK21 version
- 8302210: [Lilliput/JDK17] Simplify and optimize loading of Klass*
-------------
Changes:
- all: https://git.openjdk.org/lilliput-jdk17u/pull/5/files
- new: https://git.openjdk.org/lilliput-jdk17u/pull/5/files/ff102c5c..d6d3bb5d
Webrevs:
- full: https://webrevs.openjdk.org/?repo=lilliput-jdk17u&pr=5&range=04
- incr: https://webrevs.openjdk.org/?repo=lilliput-jdk17u&pr=5&range=03-04
Stats: 43112 lines in 791 files changed: 33017 ins; 4218 del; 5877 mod
Patch: https://git.openjdk.org/lilliput-jdk17u/pull/5.diff
Fetch: git fetch https://git.openjdk.org/lilliput-jdk17u pull/5/head:pull/5
PR: https://git.openjdk.org/lilliput-jdk17u/pull/5
More information about the lilliput-dev
mailing list