RFR: 8306446: java/lang/management/ThreadMXBean/Locks.java transient failures [v3]

Alan Bateman alanb at openjdk.org
Thu Jun 22 06:13:03 UTC 2023


On Thu, 22 Jun 2023 01:43:18 GMT, David Holmes <dholmes at openjdk.org> wrote:

> Can you elaborate on this please. I'm unclear how the test knows whether a thread may be holding any locks or not, but why is locking a VirtualThread instance a special case??

Carriers are reported as waiting, the string representation of the object that they are waiting on is the identity string of the virtual thread that is mounted.

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

PR Comment: https://git.openjdk.org/jdk/pull/14501#issuecomment-1602063138


More information about the serviceability-dev mailing list