Package | Description |
---|---|
java.lang.management |
Provides the management interfaces for monitoring and management of the
Java virtual machine and other components in the Java runtime.
|
Modifier and Type | Class and Description |
---|---|
class |
MonitorInfo
Information about an object monitor lock.
|
Modifier and Type | Method and Description |
---|---|
static LockInfo |
LockInfo.from(CompositeData cd)
Returns a
LockInfo object represented by the
given CompositeData . |
LockInfo[] |
ThreadInfo.getLockedSynchronizers()
Returns an array of
LockInfo objects, each of which
represents an ownable
synchronizer currently locked by the thread associated with
this ThreadInfo. |
LockInfo |
ThreadInfo.getLockInfo()
Returns the LockInfo of an object for which
the thread associated with this ThreadInfo
is blocked waiting.
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2022, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.