[lilliput-jdk17u:lilliput] Integrated: 8302210: [Lilliput/JDK17] Optimize fix-anon monitor owner path

Roman Kennke rkennke at openjdk.org
Fri Mar 10 15:10:46 UTC 2023


On Fri, 10 Feb 2023 11:42:24 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.
> 
> Testing:
>  - [x] tier1 (x86_64, aarch64)
>  - [x] tier2 (x86_64, aarch64) 
>  - [x] jcstress -t sync -m quick (x86_64, aarch64)

This pull request has now been integrated.

Changeset: 48b315ec
Author:    Roman Kennke <rkennke at openjdk.org>
URL:       https://git.openjdk.org/lilliput-jdk17u/commit/48b315ec8149228996a6bff525bdfff0bdac1bd4
Stats:     68 lines in 5 files changed: 60 ins; 0 del; 8 mod

8302210: [Lilliput/JDK17] Optimize fix-anon monitor owner path

Reviewed-by: stuefe

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

PR: https://git.openjdk.org/lilliput-jdk17u/pull/5


More information about the lilliput-dev mailing list