RFR: 8365556: ObjectMonitor::try_lock_or_add_to_entry_list() returns true with the wrong state of the node
Anton Artemov
duke at openjdk.org
Tue Aug 19 08:35:52 UTC 2025
On Fri, 15 Aug 2025 14:37:31 GMT, Patricio Chilano Mateo <pchilanomate at openjdk.org> wrote:
> I'm fine with the fix, I was just confused about the mention of the crash. I would also add `assert(node->TState == ObjectWaiter::TS_RUN, "");` at the top to avoid surprises.
Added an assert as suggested.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/26794#issuecomment-3199771282
More information about the hotspot-runtime-dev
mailing list