Uses of Class java.lang.management.LockInfo (Java Platform SE 8 )
Date: 2026-04-24

## Uses of Class
java.lang.management.LockInfo

- Packages that use LockInfo
  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.

- - ### Uses of LockInfo in java.lang.management

    Subclasses of LockInfo in java.lang.management
    Modifier and Type | Class and Description
    --- | ---
    `class` | `MonitorInfo` Information about an object monitor lock.

    Methods in java.lang.management that return LockInfo
    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, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.