RFR: 8320515: assert(monitor->object_peek() != nullptr) failed: Owned monitors should not have a dead object [v5]
Stefan Karlsson
stefank at openjdk.org
Mon Nov 27 09:41:09 UTC 2023
On Mon, 27 Nov 2023 02:03:30 GMT, David Holmes <dholmes at openjdk.org> wrote:
>> Stefan Karlsson has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Split test and use othervm
>
> test/hotspot/jtreg/runtime/Monitor/MonitorWithDeadObjectTest.java line 86:
>
>> 84: }
>> 85:
>> 86: private static void testDumpThreadsAfterDetachBeforeJoin() {
>
> The `AfterDetach` in the name is not accurate. If you don't join the new native thread then you are racing with its execution and you don't know when it will detach.
Thanks. I'll remove the "before join" test case.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/16783#discussion_r1405887536
More information about the serviceability-dev
mailing list