On Thu, 16 Mar 2023 09:02:19 GMT, Roman Kennke <rken...@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