On Thu, 30 Jul 2026 19:11:44 GMT, Coleen Phillimore <[email protected]> wrote:

>> This fixes the crash when printing deadlocks when the only lock held for the 
>> thread in the deadlock is the JVMTI raw monitor lock.  This also fixes 
>> deadlock detection for only raw monitor locks and adds a test for it.
>> 
>> make test TEST="serviceability/dcmd/thread 
>> vmTestbase/nsk/monitoring/ThreadMXBean/ThreadInfo/Deadlock 
>> serviceability/jvmti/SuspendWithRawMonitorEnter 
>> serviceability/jvmti/vthread/RawMonitorTest"
>> 
>> Tested with jvmti deadlock detection tests above, and tier 1-4 in progress.
>> 
>> ---------
>> - [x] I confirm that I make this contribution in accordance with the 
>> [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai).
>
> Coleen Phillimore has updated the pull request incrementally with one 
> additional commit since the last revision:
> 
>   Patricio updates.

Thanks Coleen!

test/hotspot/jtreg/serviceability/dcmd/thread/PrintRawMonitorLockTest.java line 
54:

> 52: 
> 53:     private static void log(String s) { System.out.println(s); }
> 54:     private static String AGENT_LIB = "PrintRawMonitorLockTest";;

Nit: can be removed now.

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

Marked as reviewed by pchilanomate (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/32092#pullrequestreview-4822546963
PR Review Comment: https://git.openjdk.org/jdk/pull/32092#discussion_r3685673308

Reply via email to