> 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: Make loop infinite instead of counted so we get a core file if it fails. ------------- Changes: - all: https://git.openjdk.org/jdk/pull/32092/files - new: https://git.openjdk.org/jdk/pull/32092/files/73f23abe..bcbb3bcc Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=32092&range=05 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=32092&range=04-05 Stats: 4 lines in 1 file changed: 0 ins; 1 del; 3 mod Patch: https://git.openjdk.org/jdk/pull/32092.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/32092/head:pull/32092 PR: https://git.openjdk.org/jdk/pull/32092
