-
Sub-task
-
Resolution: Delivered
-
P4
-
23
The JVM TI function `GetObjectMonitorUsage` has been respecified in this release to not return monitor information when a monitor is owned by a virtual thread. It is now specified to return the monitor owner only when the monitor is owned by a platform thread. Furthermore, the array of threads waiting to own, and the array of threads waiting to be notified, that the function returns, are now respecified to only include platform threads.
The corresponding JDWP command `ObjectReference.MonitorInfo` is respecified. The methods `owningThread()`, `waitingThreads()`, and `entryCount()` defined by `com.sun.jdi.ObjectReference` are also respecified.
The corresponding JDWP command `ObjectReference.MonitorInfo` is respecified. The methods `owningThread()`, `waitingThreads()`, and `entryCount()` defined by `com.sun.jdi.ObjectReference` are also respecified.