RFR: 8316746: Top of lock-stack does not match the unlocked object

Dean Long dlong at openjdk.org
Fri Oct 27 22:35:31 UTC 2023


On Fri, 27 Oct 2023 19:26:54 GMT, Martin Doerr <mdoerr at openjdk.org> wrote:

> It took me quite a long journey to figure out that C2 OSR goes wrong only in the test "vmTestbase/nsk/jdi/StepEvent" because the interpreter fills the slots in a different order as expected by C2. (Interpreter and C1 don't care about it.)
> I've reimplemented the search loop in `monitorenter`, improved comments and cleaned up the related code a bit. The test is passing with this change.

Mystery solved!

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

PR Comment: https://git.openjdk.org/jdk/pull/16406#issuecomment-1783579212


More information about the hotspot-compiler-dev mailing list