git: openjdk/loom: fibers: Fix ThreadReference.ownedMonitors, ownedMonitorsWithStackDepth, and currentContendedMonitor for vthreads by now allowing them to simply use the supoprt in JVMTI. They use to bypass JVMTI and just return and empty result for vthreads. Tested using IntelliJ.

duke duke at openjdk.java.net
Wed May 20 20:59:53 UTC 2020


Changeset: 5717673e
Author:    chris.plummer <chris.plummer at oracle.com>
Date:      2020-05-20 20:59:33 +0000
URL:       https://git.openjdk.java.net/loom/commit/5717673e

Fix ThreadReference.ownedMonitors, ownedMonitorsWithStackDepth, and currentContendedMonitor for vthreads by now allowing them to simply use the supoprt in JVMTI. They use to bypass JVMTI and just return and empty result for vthreads. Tested using IntelliJ.

! src/jdk.jdwp.agent/share/native/libjdwp/ThreadReferenceImpl.c



More information about the loom-dev mailing list