[master] Integrated: 8302209: [Lilliput] Optimize fix-anon monitor owner path
Roman Kennke
rkennke at openjdk.org
Wed Mar 8 22:16:56 UTC 2023
On Fri, 10 Feb 2023 11:10:11 GMT, Roman Kennke <rkennke at openjdk.org> wrote:
> 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
This pull request has now been integrated.
Changeset: 27bcdb09
Author: Roman Kennke <rkennke at openjdk.org>
URL: https://git.openjdk.org/lilliput/commit/27bcdb09d45ab2d555cf59480cabfb672f779de8
Stats: 66 lines in 5 files changed: 58 ins; 0 del; 8 mod
8302209: [Lilliput] Optimize fix-anon monitor owner path
Reviewed-by: stuefe
-------------
PR: https://git.openjdk.org/lilliput/pull/74
More information about the lilliput-dev
mailing list