RFR: 8334085: Test crash: assert(thread->held_monitor_count() == 0) failed: Must be [v2]

David Holmes dholmes at openjdk.org
Wed Jul 24 21:13:33 UTC 2024


On Wed, 24 Jul 2024 18:57:18 GMT, Serguei Spitsyn <sspitsyn at openjdk.org> wrote:

>> test/hotspot/jtreg/serviceability/jvmti/GetOwnedMonitorInfo/GetOwnedMonitorInfoTest.java line 89:
>> 
>>> 87:                                    + Thread.currentThread().getName());
>>> 88: 
>>> 89:                 Thread.yield();
>> 
>> Please add a comment explaining why the yield is present
>
> Thanks, David. Added a comment. Please, let me know if new comment is not good enough. I do not want to explain the whole scenario there.

The comment is sufficient - thanks

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/20294#discussion_r1690435047


More information about the serviceability-dev mailing list