RFR: 8365556: ObjectMonitor::try_lock_or_add_to_entry_list() returns true with the wrong state of the node
Fredrik Bredberg
fbredberg at openjdk.org
Fri Aug 15 14:34:09 UTC 2025
On Fri, 15 Aug 2025 14:02:01 GMT, Anton Artemov <duke at openjdk.org> wrote:
> ... this has to be fixed, because it is not correct.
I do agree, not setting the state back to `TS_RUN` in case of a successful acquisition of the object monitor may cause problems in future refactorizations. Thus we should fix it now that we've spotted it.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/26794#issuecomment-3191644029
More information about the hotspot-runtime-dev
mailing list