RFR: 8291555: Implement alternative fast-locking scheme [v29]
Roman Kennke
rkennke at openjdk.org
Thu Mar 23 16:00:17 UTC 2023
On Thu, 23 Mar 2023 13:25:52 GMT, Jesper Wilhelmsson <jwilhelm at openjdk.org> wrote:
> UseNewLocks... Surely there must be a better name? For how long will these be the new locks? Do we rename the flag to UseOldLocks when the next locking scheme comes along? There must be some property that differentiates these locks from the older locks other than being new. Why not name the flag after that property?
The main difference is that this new approach doesn't overload the object header with a stack-pointer in a racy way. UseNonRacyLocking?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/10907#issuecomment-1481450601
More information about the hotspot-dev
mailing list