RFR: 8297389: resexhausted003 fails with assert(!thread->owns_locks()) failed: must release all locks when leaving VM [v2]
Dean Long
dlong at openjdk.org
Tue Nov 29 01:05:17 UTC 2022
On Mon, 28 Nov 2022 12:06:03 GMT, Tobias Hartmann <thartmann at openjdk.org> wrote:
> I added an assert to `MethodData::allocate` and fixed the ciReplay code which only ever gets executed by a single thread by removing the lock. I also removed the `OrderAccess::release()`.
I'm not sure if it's guaranteed that replay runs single-threaded. I haven't looked into the details, but I think ReplayInline can run in any compiler thread after startup, and then of course there is JDK-8254110.
-------------
PR: https://git.openjdk.org/jdk/pull/11316
More information about the hotspot-dev
mailing list