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

Thomas Stuefe stuefe at openjdk.org
Thu Mar 16 06:42:32 UTC 2023


On Thu, 16 Mar 2023 06:31:42 GMT, Roman Kennke <rkennke at openjdk.org> wrote:

> > > Agreed. But I don't think "Thin locks" is an option as that was specifically an IBM locking implementation. Historically Hotspot's locking mechanism has internally been referred to as stack-locks, so I would suggest UseNewStackLocks
> > 
> > 
> > They don't use the stack anymore; would this not be us using a wrong name just for history's sake?
> 
> Well, it's still got the lock-stacks. :-D

Yes, but we have variables like "is_stack_locked" etc, without an "old" qualifier. Idk, up to you. Better than UseFastLocking I guess.

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

PR: https://git.openjdk.org/jdk/pull/10907


More information about the serviceability-dev mailing list