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

Thomas Stuefe stuefe at openjdk.org
Thu Mar 9 12:40:47 UTC 2023


On Wed, 8 Mar 2023 21:34:26 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)
>>  - [ ] tier2 (x86_64, aarch64) 
>>  - [ ] jcstress -t sync -m quick (x86_64, aarch64)
>
> Roman Kennke has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Some changes to keep in sync with JDK21 version

+1

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

Marked as reviewed by stuefe (Reviewer).

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


More information about the lilliput-dev mailing list