On Thu, 23 Mar 2023 13:25:52 GMT, Jesper Wilhelmsson <jwilh...@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