RFR: 8316746: Top of lock-stack does not match the unlocked object [v3]
David Holmes
dholmes at openjdk.org
Wed Oct 4 03:37:56 UTC 2023
On Tue, 3 Oct 2023 16:38:44 GMT, Martin Doerr <mdoerr 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.
Ugghh! a side-effect in the condition check.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/15903#issuecomment-1746080248
More information about the hotspot-dev
mailing list