[master] RFR: 8302209: [Lilliput] Optimize fix-anon monitor owner path [v3]
Roman Kennke
rkennke at openjdk.org
Wed Mar 8 13:21:20 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. I also included those changes in [upstream fast-locking PR](https://github.com/openjdk/jdk/pull/10907).
>
> Testing:
> - [x] tier1 (x86_64, aarch64)
> - [x] tier2 (x86_64, aarch64)
> - [ ] jcstress -t sync -m quick
Roman Kennke has updated the pull request incrementally with one additional commit since the last revision:
Various fixes in response to Thomas' review
-------------
Changes:
- all: https://git.openjdk.org/lilliput/pull/74/files
- new: https://git.openjdk.org/lilliput/pull/74/files/55b6c241..808ae7e3
Webrevs:
- full: https://webrevs.openjdk.org/?repo=lilliput&pr=74&range=02
- incr: https://webrevs.openjdk.org/?repo=lilliput&pr=74&range=01-02
Stats: 28 lines in 5 files changed: 6 ins; 4 del; 18 mod
Patch: https://git.openjdk.org/lilliput/pull/74.diff
Fetch: git fetch https://git.openjdk.org/lilliput pull/74/head:pull/74
PR: https://git.openjdk.org/lilliput/pull/74
More information about the lilliput-dev
mailing list