On Thu, 30 Jul 2026 20:41:30 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:
> 
>   Remove something I missed.

src/hotspot/share/services/threadService.cpp line 1031:

> 1029:         }
> 1030:       } else {
> 1031:         st->print_cr(",\n  which has now been released");

Good catch!

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

PR Review Comment: https://git.openjdk.org/jdk/pull/32092#discussion_r3687082356

Reply via email to