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

Serguei Spitsyn sspitsyn at openjdk.org
Wed Jul 24 18:59:45 UTC 2024


On Wed, 24 Jul 2024 11:52:24 GMT, David Holmes <dholmes at openjdk.org> wrote:

>> Serguei Spitsyn has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   comment tweak
>
> 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.

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

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


More information about the serviceability-dev mailing list