RFR: 8291555: Implement alternative fast-locking scheme [v29]

Thomas Stuefe stuefe at openjdk.org
Fri Mar 24 07:51:00 UTC 2023


On Fri, 24 Mar 2023 07:00:35 GMT, David Holmes <dholmes at openjdk.org> wrote:

>> Roman Kennke has updated the pull request incrementally with two additional commits since the last revision:
>> 
>>  - Merge remote-tracking branch 'origin/JDK-8291555-v2' into JDK-8291555-v2
>>  - Set condition flags correctly after fast-lock call on aarch64
>
>> The lock-stack is grown when needed.
> 
> Could you update the description of the PR with the latest approach please - others are unlikely to read all the comments to realize this has changed.

@dholmes-ora 
> Is this thread-safe?

I don't think so, but would the stacklock variant owning_thread_from_monitor_owner not suffer from the same problem?

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

PR Comment: https://git.openjdk.org/jdk/pull/10907#issuecomment-1482386684


More information about the serviceability-dev mailing list