On Wed, 24 Jul 2024 18:57:18 GMT, Serguei Spitsyn <sspit...@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