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

Thomas Stuefe stuefe at openjdk.org
Thu Mar 16 09:09:48 UTC 2023


On Thu, 16 Mar 2023 09:02:19 GMT, Roman Kennke <rkennke at openjdk.org> wrote:

> 
> > @rkennke I must be missing something. In aarch64, why do we handle the non-symmetric-unlock case in interpreter, but not in C1/C2? There, we just seem to pop whatever is on top.
> 
> C1 and C2 don't allow assymmetric locking. If that ever happens, they would refuse to compile the method. We should probably check that this assumption holds true when popping the top entry in an #ASSERT block.

Thanks for clarifying. Yes, asserting that would make sense.

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

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


More information about the serviceability-dev mailing list