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

Martin Doerr mdoerr at openjdk.org
Tue Oct 3 16:41:45 UTC 2023


On Tue, 3 Oct 2023 02:10:34 GMT, David Holmes <dholmes at openjdk.org> wrote:

> > `for (index = mcnt; ...`
> 
> Shouldn't that be `for (index = mcnt -1; ...` as index < mcnt?

I'm using pre-decrement, so the 1st iteration starts with mcnt-1.

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

PR Comment: https://git.openjdk.org/jdk/pull/15903#issuecomment-1745346623


More information about the hotspot-dev mailing list