## Attributes (18)

- all-thread-ids - All live thread IDs. If a security manager is installed and the caller does not have ManagementPermission("monitor"), then a "read-attribute" operation reading this attribute will fail, and the value for this attribute in the result for the "read-resource" operation will be "undefined".

  Type | LIST
  Where is the attribute stored? | runtime
  Access Type | read-only
  Stability Level | default
  Raw DMR model |
      {
          "type" : {
              "TYPE_MODEL_VALUE" : "LIST"
          },
          "description" : "All live thread IDs. If a security manager is installed and the caller does not have ManagementPermission(\"monitor\"), then a \"read-attribute\" operation reading this attribute will fail, and the value for this attribute in the result for the \"read-resource\" operation will be \"undefined\".",
          "expressions-allowed" : false,
          "required" : true,
          "nillable" : false,
          "min-length" : 0,
          "max-length" : 2147483647,
          "stability" : "default",
          "value-type" : {
              "TYPE_MODEL_VALUE" : "LONG"
          },
          "access-type" : "read-only",
          "storage" : "runtime",
          "restart-required" : null,
          "capability-reference" : null
      }

- 🅲 current-thread-allocated-bytes - An approximation of the total amount of memory, in bytes, allocated in heap memory for the current thread.

  Type | LONG
  Unit | BYTES
  Is the attribute nillable? | true
  Where is the attribute stored? | runtime
  Access Type | metric
  Stability Level | community
  Raw DMR model |
      {
          "type" : {
              "TYPE_MODEL_VALUE" : "LONG"
          },
          "description" : "An approximation of the total amount of memory, in bytes, allocated in heap memory for the current thread.",
          "expressions-allowed" : false,
          "required" : false,
          "nillable" : true,
          "unit" : "BYTES",
          "stability" : "community",
          "access-type" : "metric",
          "storage" : "runtime",
          "restart-required" : null,
          "capability-reference" : null
      }

- current-thread-cpu-time - The total CPU time for the current thread in nanoseconds, or -1 if "thread-cpu-time-enabled" is "false". A Java virtual machine implementation may not support CPU time measurement. If "thread-cpu-time-supported", is "false" trying to read this attribute via the "read-attribute" operation will result in failure, and the value of this attribute in the result of a "read-resource" operation will be "undefined".

  Type | LONG
  Unit | NANOSECONDS
  Where is the attribute stored? | runtime
  Access Type | metric
  Stability Level | default
  Raw DMR model |
      {
          "type" : {
              "TYPE_MODEL_VALUE" : "LONG"
          },
          "description" : "The total CPU time for the current thread in nanoseconds, or -1 if \"thread-cpu-time-enabled\" is \"false\". A Java virtual machine implementation may not support CPU time measurement. If \"thread-cpu-time-supported\", is \"false\" trying to read this attribute via the \"read-attribute\" operation will result in failure, and the value of this attribute in the result of a \"read-resource\" operation will be \"undefined\".",
          "expressions-allowed" : false,
          "required" : true,
          "nillable" : false,
          "unit" : "NANOSECONDS",
          "stability" : "default",
          "access-type" : "metric",
          "storage" : "runtime",
          "restart-required" : null,
          "capability-reference" : null
      }

- current-thread-cpu-time-supported - Whether the Java virtual machine supports CPU time measurement for the current thread.

  Type | BOOLEAN
  Where is the attribute stored? | runtime
  Access Type | read-only
  Stability Level | default
  Raw DMR model |
      {
          "type" : {
              "TYPE_MODEL_VALUE" : "BOOLEAN"
          },
          "description" : "Whether the Java virtual machine supports CPU time measurement for the current thread.",
          "expressions-allowed" : false,
          "required" : true,
          "nillable" : false,
          "stability" : "default",
          "access-type" : "read-only",
          "storage" : "runtime",
          "restart-required" : null,
          "capability-reference" : null
      }

- current-thread-user-time - The CPU time that the current thread has executed in user mode in nanoseconds, or -1 if "thread-cpu-time-enabled" is "false". A Java virtual machine implementation may not support CPU time measurement. If "thread-cpu-time-supported", is "false" trying to read this attribute via the "read-attribute" operation will result in failure, and the value of this attribute in the result of a "read-resource" operation will be "undefined".

  Type | LONG
  Unit | NANOSECONDS
  Where is the attribute stored? | runtime
  Access Type | metric
  Stability Level | default
  Raw DMR model |
      {
          "type" : {
              "TYPE_MODEL_VALUE" : "LONG"
          },
          "description" : "The CPU time that the current thread has executed in user mode in nanoseconds, or -1 if \"thread-cpu-time-enabled\" is \"false\". A Java virtual machine implementation may not support CPU time measurement. If \"thread-cpu-time-supported\", is \"false\" trying to read this attribute via the \"read-attribute\" operation will result in failure, and the value of this attribute in the result of a \"read-resource\" operation will be \"undefined\".",
          "expressions-allowed" : false,
          "required" : true,
          "nillable" : false,
          "unit" : "NANOSECONDS",
          "stability" : "default",
          "access-type" : "metric",
          "storage" : "runtime",
          "restart-required" : null,
          "capability-reference" : null
      }

- daemon-thread-count - The current number of live daemon threads.

  Type | INT
  Where is the attribute stored? | runtime
  Access Type | metric
  Stability Level | default
  Raw DMR model |
      {
          "type" : {
              "TYPE_MODEL_VALUE" : "INT"
          },
          "description" : "The current number of live daemon threads.",
          "expressions-allowed" : false,
          "required" : true,
          "nillable" : false,
          "stability" : "default",
          "access-type" : "metric",
          "storage" : "runtime",
          "restart-required" : null,
          "capability-reference" : null
      }

- object-monitor-usage-supported - Whether the Java virtual machine supports monitoring of object monitor usage.

  Type | BOOLEAN
  Where is the attribute stored? | runtime
  Access Type | read-only
  Stability Level | default
  Raw DMR model |
      {
          "type" : {
              "TYPE_MODEL_VALUE" : "BOOLEAN"
          },
          "description" : "Whether the Java virtual machine supports monitoring of object monitor usage.",
          "expressions-allowed" : false,
          "required" : true,
          "nillable" : false,
          "stability" : "default",
          "access-type" : "read-only",
          "storage" : "runtime",
          "restart-required" : null,
          "capability-reference" : null
      }

- object-name - String representation the object name of this platform managed object.

  Type | STRING
  Is the attribute nillable? | true
  Where is the attribute stored? | runtime
  Access Type | read-only
  Stability Level | default
  Raw DMR model |
      {
          "type" : {
              "TYPE_MODEL_VALUE" : "STRING"
          },
          "description" : "String representation the object name of this platform managed object.",
          "expressions-allowed" : false,
          "required" : false,
          "nillable" : true,
          "min-length" : 1,
          "max-length" : 2147483647,
          "stability" : "default",
          "access-type" : "read-only",
          "storage" : "runtime",
          "restart-required" : null,
          "capability-reference" : null
      }

- peak-thread-count - The peak live thread count since the Java virtual machine started or peak was reset.

  Type | INT
  Where is the attribute stored? | runtime
  Access Type | metric
  Stability Level | default
  Raw DMR model |
      {
          "type" : {
              "TYPE_MODEL_VALUE" : "INT"
          },
          "description" : "The peak live thread count since the Java virtual machine started or peak was reset.",
          "expressions-allowed" : false,
          "required" : true,
          "nillable" : false,
          "stability" : "default",
          "access-type" : "metric",
          "storage" : "runtime",
          "restart-required" : null,
          "capability-reference" : null
      }

- synchronizer-usage-supported - Whether the Java virtual machine supports monitoring of ownable synchronizer usage.

  Type | BOOLEAN
  Where is the attribute stored? | runtime
  Access Type | read-only
  Stability Level | default
  Raw DMR model |
      {
          "type" : {
              "TYPE_MODEL_VALUE" : "BOOLEAN"
          },
          "description" : "Whether the Java virtual machine supports monitoring of ownable synchronizer usage.",
          "expressions-allowed" : false,
          "required" : true,
          "nillable" : false,
          "stability" : "default",
          "access-type" : "read-only",
          "storage" : "runtime",
          "restart-required" : null,
          "capability-reference" : null
      }

- 🅲 thread-allocated-memory-enabled - Tests if thread memory allocation measurement is enabled.

  Type | BOOLEAN
  Is the attribute nillable? | true
  Where is the attribute stored? | runtime
  Access Type | read-write
  Is restarted required? | no-services
  Stability Level | community
  Raw DMR model |
      {
          "type" : {
              "TYPE_MODEL_VALUE" : "BOOLEAN"
          },
          "description" : "Tests if thread memory allocation measurement is enabled.",
          "expressions-allowed" : false,
          "required" : false,
          "nillable" : true,
          "stability" : "community",
          "access-type" : "read-write",
          "storage" : "runtime",
          "restart-required" : "no-services",
          "capability-reference" : null
      }

- 🅲 thread-allocated-memory-supported - Tests if the Java virtual machine implementation supports thread memory allocation measurement.

  Type | BOOLEAN
  Is the attribute nillable? | true
  Where is the attribute stored? | runtime
  Access Type | read-only
  Stability Level | community
  Raw DMR model |
      {
          "type" : {
              "TYPE_MODEL_VALUE" : "BOOLEAN"
          },
          "description" : "Tests if the Java virtual machine implementation supports thread memory allocation measurement.",
          "expressions-allowed" : false,
          "required" : false,
          "nillable" : true,
          "stability" : "community",
          "access-type" : "read-only",
          "storage" : "runtime",
          "restart-required" : null,
          "capability-reference" : null
      }

- thread-contention-monitoring-enabled - Whether thread contention monitoring is enabled.

  Type | BOOLEAN
  Where is the attribute stored? | runtime
  Access Type | read-write
  Is restarted required? | no-services
  Stability Level | default
  Raw DMR model |
      {
          "type" : {
              "TYPE_MODEL_VALUE" : "BOOLEAN"
          },
          "description" : "Whether thread contention monitoring is enabled.",
          "expressions-allowed" : false,
          "required" : true,
          "nillable" : false,
          "stability" : "default",
          "access-type" : "read-write",
          "storage" : "runtime",
          "restart-required" : "no-services",
          "capability-reference" : null
      }

- thread-contention-monitoring-supported - Whether the Java virtual machine supports thread contention monitoring.

  Type | BOOLEAN
  Where is the attribute stored? | runtime
  Access Type | read-only
  Stability Level | default
  Raw DMR model |
      {
          "type" : {
              "TYPE_MODEL_VALUE" : "BOOLEAN"
          },
          "description" : "Whether the Java virtual machine supports thread contention monitoring.",
          "expressions-allowed" : false,
          "required" : true,
          "nillable" : false,
          "stability" : "default",
          "access-type" : "read-only",
          "storage" : "runtime",
          "restart-required" : null,
          "capability-reference" : null
      }

- thread-count - The current number of live threads including both daemon and non-daemon threads.

  Type | INT
  Where is the attribute stored? | runtime
  Access Type | metric
  Stability Level | default
  Raw DMR model |
      {
          "type" : {
              "TYPE_MODEL_VALUE" : "INT"
          },
          "description" : "The current number of live threads including both daemon and non-daemon threads.",
          "expressions-allowed" : false,
          "required" : true,
          "nillable" : false,
          "stability" : "default",
          "access-type" : "metric",
          "storage" : "runtime",
          "restart-required" : null,
          "capability-reference" : null
      }

- thread-cpu-time-enabled - Whether thread CPU time measurement is enabled.

  Type | BOOLEAN
  Where is the attribute stored? | runtime
  Access Type | read-write
  Is restarted required? | no-services
  Stability Level | default
  Raw DMR model |
      {
          "type" : {
              "TYPE_MODEL_VALUE" : "BOOLEAN"
          },
          "description" : "Whether thread CPU time measurement is enabled.",
          "expressions-allowed" : false,
          "required" : true,
          "nillable" : false,
          "stability" : "default",
          "access-type" : "read-write",
          "storage" : "runtime",
          "restart-required" : "no-services",
          "capability-reference" : null
      }

- thread-cpu-time-supported - Whether the Java virtual machine implementation supports CPU time measurement for any thread.

  Type | BOOLEAN
  Where is the attribute stored? | runtime
  Access Type | read-only
  Stability Level | default
  Raw DMR model |
      {
          "type" : {
              "TYPE_MODEL_VALUE" : "BOOLEAN"
          },
          "description" : "Whether the Java virtual machine implementation supports CPU time measurement for any thread.",
          "expressions-allowed" : false,
          "required" : true,
          "nillable" : false,
          "stability" : "default",
          "access-type" : "read-only",
          "storage" : "runtime",
          "restart-required" : null,
          "capability-reference" : null
      }

- total-started-thread-count - The total number of threads created and also started since the Java virtual machine started.

  Type | LONG
  Where is the attribute stored? | runtime
  Access Type | metric
  Stability Level | default
  Raw DMR model |
      {
          "type" : {
              "TYPE_MODEL_VALUE" : "LONG"
          },
          "description" : "The total number of threads created and also started since the Java virtual machine started.",
          "expressions-allowed" : false,
          "required" : true,
          "nillable" : false,
          "stability" : "default",
          "access-type" : "metric",
          "storage" : "runtime",
          "restart-required" : null,
          "capability-reference" : null
      }

## Operations (13)

- dump-all-threads - Returns the thread info for all live threads with stack trace and synchronization information.

  Request Parameter | Type | Required | Expressions Allowed | Default value | Description
  --- | --- | --- | --- | --- | ---
  locked-monitors | BOOLEAN | false | false | false | A list of detyped representations java.lang.management.MonitorInfo objects, each of which represents an object monitor currently locked by the thread.
  locked-synchronizers | BOOLEAN | false | false | false | A list of detyped representations java.lang.management.LockInfo objects, each of which represents an ownable synchronizer currently locked by the thread.

  ### Reply properties

  Type
    LIST
  Value Type

        {
            "thread-id" => {
                "type" => LONG,
                "description" => "The ID of the thread.",
                "expressions-allowed" => false,
                "required" => false,
                "nillable" => true,
                "stability" => "default"
            },
            "thread-name" => {
                "type" => STRING,
                "description" => "The name of the thread.",
                "expressions-allowed" => false,
                "required" => false,
                "nillable" => true,
                "min-length" => 1,
                "max-length" => 2147483647,
                "stability" => "default"
            },
            "thread-state" => {
                "type" => STRING,
                "description" => "The state of the thread.",
                "expressions-allowed" => false,
                "required" => false,
                "nillable" => true,
                "stability" => "default"
            },
            "blocked-time" => {
                "type" => LONG,
                "description" => "The approximate accumulated elapsed time (in milliseconds) that the thread has blocked to enter or reenter a monitor since thread contention monitoring is enabled, or -1 if thread contention monitoring is not enabled.",
                "expressions-allowed" => false,
                "required" => true,
                "nillable" => false,
                "unit" => "MILLISECONDS",
                "stability" => "default"
            },
            "blocked-count" => {
                "type" => LONG,
                "description" => "The total number of times that the thread blocked to enter or reenter a monitor.",
                "expressions-allowed" => false,
                "required" => false,
                "nillable" => true,
                "stability" => "default"
            },
            "waited-time" => {
                "type" => LONG,
                "description" => "The approximate accumulated elapsed time (in milliseconds) that the thread has waited for notification since thread contention monitoring was enabled.",
                "expressions-allowed" => false,
                "required" => true,
                "nillable" => false,
                "unit" => "MILLISECONDS",
                "stability" => "default"
            },
            "waited-count" => {
                "type" => LONG,
                "description" => "The total number of times that the thread has waited for notification.",
                "expressions-allowed" => false,
                "required" => false,
                "nillable" => true,
                "stability" => "default"
            },
            "lock-info" => {
                "type" => OBJECT,
                "description" => "A detyped representation of the java.lang.management.LockInfo of an object for which the thread is blocked waiting.",
                "expressions-allowed" => false,
                "required" => false,
                "nillable" => true,
                "stability" => "default",
                "value-type" => {
                    "class-name" => {
                        "type" => STRING,
                        "description" => "The fully qualified name of the class of the lock object.",
                        "expressions-allowed" => false,
                        "required" => false,
                        "nillable" => true,
                        "min-length" => 1,
                        "max-length" => 2147483647,
                        "stability" => "default"
                    },
                    "identity-hash-code" => {
                        "type" => INT,
                        "description" => "The identity hash code of the lock object returned from the System.identityHashCode(java.lang.Object) method.",
                        "expressions-allowed" => false,
                        "required" => false,
                        "nillable" => true,
                        "stability" => "default"
                    }
                }
            },
            "lock-name" => {
                "type" => STRING,
                "description" => "The string representation of an object for which the thread is blocked waiting.",
                "expressions-allowed" => false,
                "required" => false,
                "nillable" => true,
                "min-length" => 1,
                "max-length" => 2147483647,
                "stability" => "default"
            },
            "lock-owner-id" => {
                "type" => LONG,
                "description" => "The ID of the thread which owns the object for which the thread is blocked waiting.",
                "expressions-allowed" => false,
                "required" => false,
                "nillable" => true,
                "stability" => "default"
            },
            "lock-owner-name" => {
                "type" => STRING,
                "description" => "The name of the thread which owns the object for which the thread is blocked waiting.",
                "expressions-allowed" => false,
                "required" => false,
                "nillable" => true,
                "min-length" => 1,
                "max-length" => 2147483647,
                "stability" => "default"
            },
            "stack-trace" => {
                "type" => LIST,
                "description" => "The stack trace of the thread.",
                "expressions-allowed" => false,
                "required" => false,
                "nillable" => true,
                "min-length" => 0,
                "max-length" => 2147483647,
                "stability" => "default",
                "value-type" => {
                    "file-name" => {
                        "type" => STRING,
                        "description" => "The name of the source file containing the execution point represented by this stack trace element.",
                        "expressions-allowed" => false,
                        "required" => false,
                        "nillable" => true,
                        "min-length" => 1,
                        "max-length" => 2147483647,
                        "stability" => "default"
                    },
                    "line-number" => {
                        "type" => INT,
                        "description" => "The line number of the source line containing the execution point represented by this stack trace element.",
                        "expressions-allowed" => false,
                        "required" => false,
                        "nillable" => true,
                        "stability" => "default"
                    },
                    "class-name" => {
                        "type" => STRING,
                        "description" => "The fully qualified name of the class containing the execution point represented by this stack trace element.",
                        "expressions-allowed" => false,
                        "required" => false,
                        "nillable" => true,
                        "min-length" => 1,
                        "max-length" => 2147483647,
                        "stability" => "default"
                    },
                    "method-name" => {
                        "type" => STRING,
                        "description" => "The name of the method containing the execution point represented by this stack trace element.",
                        "expressions-allowed" => false,
                        "required" => false,
                        "nillable" => true,
                        "min-length" => 1,
                        "max-length" => 2147483647,
                        "stability" => "default"
                    },
                    "native-method" => {
                        "type" => STRING,
                        "description" => "Whether the method containing the execution point represented by this stack trace element is a native method.",
                        "expressions-allowed" => false,
                        "required" => false,
                        "nillable" => true,
                        "min-length" => 1,
                        "max-length" => 2147483647,
                        "stability" => "default"
                    }
                }
            },
            "suspended" => {
                "type" => BOOLEAN,
                "description" => "Whether the thread is suspended.",
                "expressions-allowed" => false,
                "required" => false,
                "nillable" => true,
                "stability" => "default"
            },
            "in-native" => {
                "type" => BOOLEAN,
                "description" => "Whether the thread associated is executing native code via the Java Native Interface (JNI).",
                "expressions-allowed" => false,
                "required" => false,
                "nillable" => true,
                "stability" => "default"
            },
            "locked-monitors" => {
                "type" => LIST,
                "description" => "A list of detyped representations java.lang.management.MonitorInfo objects, each of which represents an object monitor currently locked by the thread.",
                "expressions-allowed" => false,
                "required" => false,
                "nillable" => true,
                "min-length" => 0,
                "max-length" => 2147483647,
                "stability" => "default",
                "value-type" => {
                    "locked-stack-depth" => {
                        "type" => INT,
                        "description" => "The depth in the stack trace where the object monitor was locked.",
                        "expressions-allowed" => false,
                        "required" => false,
                        "nillable" => true,
                        "stability" => "default"
                    },
                    "locked-stack-frame" => {
                        "type" => OBJECT,
                        "description" => "The stack frame that locked the object monitor.",
                        "expressions-allowed" => false,
                        "required" => false,
                        "nillable" => true,
                        "stability" => "default",
                        "value-type" => {
                            "file-name" => {
                                "type" => STRING,
                                "description" => "The name of the source file containing the execution point represented by this stack trace element.",
                                "expressions-allowed" => false,
                                "required" => false,
                                "nillable" => true,
                                "min-length" => 1,
                                "max-length" => 2147483647,
                                "stability" => "default"
                            },
                            "line-number" => {
                                "type" => INT,
                                "description" => "The line number of the source line containing the execution point represented by this stack trace element.",
                                "expressions-allowed" => false,
                                "required" => false,
                                "nillable" => true,
                                "stability" => "default"
                            },
                            "class-name" => {
                                "type" => STRING,
                                "description" => "The fully qualified name of the class containing the execution point represented by this stack trace element.",
                                "expressions-allowed" => false,
                                "required" => false,
                                "nillable" => true,
                                "min-length" => 1,
                                "max-length" => 2147483647,
                                "stability" => "default"
                            },
                            "method-name" => {
                                "type" => STRING,
                                "description" => "The name of the method containing the execution point represented by this stack trace element.",
                                "expressions-allowed" => false,
                                "required" => false,
                                "nillable" => true,
                                "min-length" => 1,
                                "max-length" => 2147483647,
                                "stability" => "default"
                            },
                            "native-method" => {
                                "type" => STRING,
                                "description" => "Whether the method containing the execution point represented by this stack trace element is a native method.",
                                "expressions-allowed" => false,
                                "required" => false,
                                "nillable" => true,
                                "min-length" => 1,
                                "max-length" => 2147483647,
                                "stability" => "default"
                            }
                        }
                    }
                }
            },
            "locked-synchronizers" => {
                "type" => LIST,
                "description" => "A list of detyped representations java.lang.management.LockInfo objects, each of which represents an ownable synchronizer currently locked by the thread.",
                "expressions-allowed" => false,
                "required" => false,
                "nillable" => true,
                "min-length" => 0,
                "max-length" => 2147483647,
                "stability" => "default",
                "value-type" => {
                    "class-name" => {
                        "type" => STRING,
                        "description" => "The fully qualified name of the class of the lock object.",
                        "expressions-allowed" => false,
                        "required" => false,
                        "nillable" => true,
                        "min-length" => 1,
                        "max-length" => 2147483647,
                        "stability" => "default"
                    },
                    "identity-hash-code" => {
                        "type" => INT,
                        "description" => "The identity hash code of the lock object returned from the System.identityHashCode(java.lang.Object) method.",
                        "expressions-allowed" => false,
                        "required" => false,
                        "nillable" => true,
                        "stability" => "default"
                    }
                }
            }
        }

  Raw DMR model |
      {
          "operation-name" : "dump-all-threads",
          "description" : "Returns the thread info for all live threads with stack trace and synchronization information.",
          "request-properties" : {
              "locked-monitors" : {
                  "type" : {
                      "TYPE_MODEL_VALUE" : "BOOLEAN"
                  },
                  "description" : "A list of detyped representations java.lang.management.MonitorInfo objects, each of which represents an object monitor currently locked by the thread.",
                  "expressions-allowed" : false,
                  "required" : false,
                  "nillable" : true,
                  "default" : false,
                  "stability" : "default"
              },
              "locked-synchronizers" : {
                  "type" : {
                      "TYPE_MODEL_VALUE" : "BOOLEAN"
                  },
                  "description" : "A list of detyped representations java.lang.management.LockInfo objects, each of which represents an ownable synchronizer currently locked by the thread.",
                  "expressions-allowed" : false,
                  "required" : false,
                  "nillable" : true,
                  "default" : false,
                  "stability" : "default"
              }
          },
          "reply-properties" : {
              "type" : {
                  "TYPE_MODEL_VALUE" : "LIST"
              },
              "value-type" : {
                  "thread-id" : {
                      "type" : {
                          "TYPE_MODEL_VALUE" : "LONG"
                      },
                      "description" : "The ID of the thread.",
                      "expressions-allowed" : false,
                      "required" : false,
                      "nillable" : true,
                      "stability" : "default"
                  },
                  "thread-name" : {
                      "type" : {
                          "TYPE_MODEL_VALUE" : "STRING"
                      },
                      "description" : "The name of the thread.",
                      "expressions-allowed" : false,
                      "required" : false,
                      "nillable" : true,
                      "min-length" : 1,
                      "max-length" : 2147483647,
                      "stability" : "default"
                  },
                  "thread-state" : {
                      "type" : {
                          "TYPE_MODEL_VALUE" : "STRING"
                      },
                      "description" : "The state of the thread.",
                      "expressions-allowed" : false,
                      "required" : false,
                      "nillable" : true,
                      "stability" : "default"
                  },
                  "blocked-time" : {
                      "type" : {
                          "TYPE_MODEL_VALUE" : "LONG"
                      },
                      "description" : "The approximate accumulated elapsed time (in milliseconds) that the thread has blocked to enter or reenter a monitor since thread contention monitoring is enabled, or -1 if thread contention monitoring is not enabled.",
                      "expressions-allowed" : false,
                      "required" : true,
                      "nillable" : false,
                      "unit" : "MILLISECONDS",
                      "stability" : "default"
                  },
                  "blocked-count" : {
                      "type" : {
                          "TYPE_MODEL_VALUE" : "LONG"
                      },
                      "description" : "The total number of times that the thread blocked to enter or reenter a monitor.",
                      "expressions-allowed" : false,
                      "required" : false,
                      "nillable" : true,
                      "stability" : "default"
                  },
                  "waited-time" : {
                      "type" : {
                          "TYPE_MODEL_VALUE" : "LONG"
                      },
                      "description" : "The approximate accumulated elapsed time (in milliseconds) that the thread has waited for notification since thread contention monitoring was enabled.",
                      "expressions-allowed" : false,
                      "required" : true,
                      "nillable" : false,
                      "unit" : "MILLISECONDS",
                      "stability" : "default"
                  },
                  "waited-count" : {
                      "type" : {
                          "TYPE_MODEL_VALUE" : "LONG"
                      },
                      "description" : "The total number of times that the thread has waited for notification.",
                      "expressions-allowed" : false,
                      "required" : false,
                      "nillable" : true,
                      "stability" : "default"
                  },
                  "lock-info" : {
                      "type" : {
                          "TYPE_MODEL_VALUE" : "OBJECT"
                      },
                      "description" : "A detyped representation of the java.lang.management.LockInfo of an object for which the thread is blocked waiting.",
                      "expressions-allowed" : false,
                      "required" : false,
                      "nillable" : true,
                      "stability" : "default",
                      "value-type" : {
                          "class-name" : {
                              "type" : {
                                  "TYPE_MODEL_VALUE" : "STRING"
                              },
                              "description" : "The fully qualified name of the class of the lock object.",
                              "expressions-allowed" : false,
                              "required" : false,
                              "nillable" : true,
                              "min-length" : 1,
                              "max-length" : 2147483647,
                              "stability" : "default"
                          },
                          "identity-hash-code" : {
                              "type" : {
                                  "TYPE_MODEL_VALUE" : "INT"
                              },
                              "description" : "The identity hash code of the lock object returned from the System.identityHashCode(java.lang.Object) method.",
                              "expressions-allowed" : false,
                              "required" : false,
                              "nillable" : true,
                              "stability" : "default"
                          }
                      }
                  },
                  "lock-name" : {
                      "type" : {
                          "TYPE_MODEL_VALUE" : "STRING"
                      },
                      "description" : "The string representation of an object for which the thread is blocked waiting.",
                      "expressions-allowed" : false,
                      "required" : false,
                      "nillable" : true,
                      "min-length" : 1,
                      "max-length" : 2147483647,
                      "stability" : "default"
                  },
                  "lock-owner-id" : {
                      "type" : {
                          "TYPE_MODEL_VALUE" : "LONG"
                      },
                      "description" : "The ID of the thread which owns the object for which the thread is blocked waiting.",
                      "expressions-allowed" : false,
                      "required" : false,
                      "nillable" : true,
                      "stability" : "default"
                  },
                  "lock-owner-name" : {
                      "type" : {
                          "TYPE_MODEL_VALUE" : "STRING"
                      },
                      "description" : "The name of the thread which owns the object for which the thread is blocked waiting.",
                      "expressions-allowed" : false,
                      "required" : false,
                      "nillable" : true,
                      "min-length" : 1,
                      "max-length" : 2147483647,
                      "stability" : "default"
                  },
                  "stack-trace" : {
                      "type" : {
                          "TYPE_MODEL_VALUE" : "LIST"
                      },
                      "description" : "The stack trace of the thread.",
                      "expressions-allowed" : false,
                      "required" : false,
                      "nillable" : true,
                      "min-length" : 0,
                      "max-length" : 2147483647,
                      "stability" : "default",
                      "value-type" : {
                          "file-name" : {
                              "type" : {
                                  "TYPE_MODEL_VALUE" : "STRING"
                              },
                              "description" : "The name of the source file containing the execution point represented by this stack trace element.",
                              "expressions-allowed" : false,
                              "required" : false,
                              "nillable" : true,
                              "min-length" : 1,
                              "max-length" : 2147483647,
                              "stability" : "default"
                          },
                          "line-number" : {
                              "type" : {
                                  "TYPE_MODEL_VALUE" : "INT"
                              },
                              "description" : "The line number of the source line containing the execution point represented by this stack trace element.",
                              "expressions-allowed" : false,
                              "required" : false,
                              "nillable" : true,
                              "stability" : "default"
                          },
                          "class-name" : {
                              "type" : {
                                  "TYPE_MODEL_VALUE" : "STRING"
                              },
                              "description" : "The fully qualified name of the class containing the execution point represented by this stack trace element.",
                              "expressions-allowed" : false,
                              "required" : false,
                              "nillable" : true,
                              "min-length" : 1,
                              "max-length" : 2147483647,
                              "stability" : "default"
                          },
                          "method-name" : {
                              "type" : {
                                  "TYPE_MODEL_VALUE" : "STRING"
                              },
                              "description" : "The name of the method containing the execution point represented by this stack trace element.",
                              "expressions-allowed" : false,
                              "required" : false,
                              "nillable" : true,
                              "min-length" : 1,
                              "max-length" : 2147483647,
                              "stability" : "default"
                          },
                          "native-method" : {
                              "type" : {
                                  "TYPE_MODEL_VALUE" : "STRING"
                              },
                              "description" : "Whether the method containing the execution point represented by this stack trace element is a native method.",
                              "expressions-allowed" : false,
                              "required" : false,
                              "nillable" : true,
                              "min-length" : 1,
                              "max-length" : 2147483647,
                              "stability" : "default"
                          }
                      }
                  },
                  "suspended" : {
                      "type" : {
                          "TYPE_MODEL_VALUE" : "BOOLEAN"
                      },
                      "description" : "Whether the thread is suspended.",
                      "expressions-allowed" : false,
                      "required" : false,
                      "nillable" : true,
                      "stability" : "default"
                  },
                  "in-native" : {
                      "type" : {
                          "TYPE_MODEL_VALUE" : "BOOLEAN"
                      },
                      "description" : "Whether the thread associated is executing native code via the Java Native Interface (JNI).",
                      "expressions-allowed" : false,
                      "required" : false,
                      "nillable" : true,
                      "stability" : "default"
                  },
                  "locked-monitors" : {
                      "type" : {
                          "TYPE_MODEL_VALUE" : "LIST"
                      },
                      "description" : "A list of detyped representations java.lang.management.MonitorInfo objects, each of which represents an object monitor currently locked by the thread.",
                      "expressions-allowed" : false,
                      "required" : false,
                      "nillable" : true,
                      "min-length" : 0,
                      "max-length" : 2147483647,
                      "stability" : "default",
                      "value-type" : {
                          "locked-stack-depth" : {
                              "type" : {
                                  "TYPE_MODEL_VALUE" : "INT"
                              },
                              "description" : "The depth in the stack trace where the object monitor was locked.",
                              "expressions-allowed" : false,
                              "required" : false,
                              "nillable" : true,
                              "stability" : "default"
                          },
                          "locked-stack-frame" : {
                              "type" : {
                                  "TYPE_MODEL_VALUE" : "OBJECT"
                              },
                              "description" : "The stack frame that locked the object monitor.",
                              "expressions-allowed" : false,
                              "required" : false,
                              "nillable" : true,
                              "stability" : "default",
                              "value-type" : {
                                  "file-name" : {
                                      "type" : {
                                          "TYPE_MODEL_VALUE" : "STRING"
                                      },
                                      "description" : "The name of the source file containing the execution point represented by this stack trace element.",
                                      "expressions-allowed" : false,
                                      "required" : false,
                                      "nillable" : true,
                                      "min-length" : 1,
                                      "max-length" : 2147483647,
                                      "stability" : "default"
                                  },
                                  "line-number" : {
                                      "type" : {
                                          "TYPE_MODEL_VALUE" : "INT"
                                      },
                                      "description" : "The line number of the source line containing the execution point represented by this stack trace element.",
                                      "expressions-allowed" : false,
                                      "required" : false,
                                      "nillable" : true,
                                      "stability" : "default"
                                  },
                                  "class-name" : {
                                      "type" : {
                                          "TYPE_MODEL_VALUE" : "STRING"
                                      },
                                      "description" : "The fully qualified name of the class containing the execution point represented by this stack trace element.",
                                      "expressions-allowed" : false,
                                      "required" : false,
                                      "nillable" : true,
                                      "min-length" : 1,
                                      "max-length" : 2147483647,
                                      "stability" : "default"
                                  },
                                  "method-name" : {
                                      "type" : {
                                          "TYPE_MODEL_VALUE" : "STRING"
                                      },
                                      "description" : "The name of the method containing the execution point represented by this stack trace element.",
                                      "expressions-allowed" : false,
                                      "required" : false,
                                      "nillable" : true,
                                      "min-length" : 1,
                                      "max-length" : 2147483647,
                                      "stability" : "default"
                                  },
                                  "native-method" : {
                                      "type" : {
                                          "TYPE_MODEL_VALUE" : "STRING"
                                      },
                                      "description" : "Whether the method containing the execution point represented by this stack trace element is a native method.",
                                      "expressions-allowed" : false,
                                      "required" : false,
                                      "nillable" : true,
                                      "min-length" : 1,
                                      "max-length" : 2147483647,
                                      "stability" : "default"
                                  }
                              }
                          }
                      }
                  },
                  "locked-synchronizers" : {
                      "type" : {
                          "TYPE_MODEL_VALUE" : "LIST"
                      },
                      "description" : "A list of detyped representations java.lang.management.LockInfo objects, each of which represents an ownable synchronizer currently locked by the thread.",
                      "expressions-allowed" : false,
                      "required" : false,
                      "nillable" : true,
                      "min-length" : 0,
                      "max-length" : 2147483647,
                      "stability" : "default",
                      "value-type" : {
                          "class-name" : {
                              "type" : {
                                  "TYPE_MODEL_VALUE" : "STRING"
                              },
                              "description" : "The fully qualified name of the class of the lock object.",
                              "expressions-allowed" : false,
                              "required" : false,
                              "nillable" : true,
                              "min-length" : 1,
                              "max-length" : 2147483647,
                              "stability" : "default"
                          },
                          "identity-hash-code" : {
                              "type" : {
                                  "TYPE_MODEL_VALUE" : "INT"
                              },
                              "description" : "The identity hash code of the lock object returned from the System.identityHashCode(java.lang.Object) method.",
                              "expressions-allowed" : false,
                              "required" : false,
                              "nillable" : true,
                              "stability" : "default"
                          }
                      }
                  }
              }
          },
          "stability" : "default",
          "read-only" : true,
          "runtime-only" : true
      }

- find-deadlocked-threads - Finds cycles of threads that are in deadlock waiting to acquire object monitors or ownable synchronizers.

  ### Reply properties

  Type
    LIST
  Value Type

        LONG

  Raw DMR model |
      {
          "operation-name" : "find-deadlocked-threads",
          "description" : "Finds cycles of threads that are in deadlock waiting to acquire object monitors or ownable synchronizers.",
          "request-properties" : {},
          "reply-properties" : {
              "type" : {
                  "TYPE_MODEL_VALUE" : "LIST"
              },
              "value-type" : {
                  "TYPE_MODEL_VALUE" : "LONG"
              },
              "nillable" : true
          },
          "stability" : "default",
          "read-only" : true,
          "runtime-only" : true
      }

- find-monitor-deadlocked-threads - Finds cycles of threads that are in deadlock waiting to acquire object monitors.

  ### Reply properties

  Type
    LIST
  Value Type

        LONG

  Raw DMR model |
      {
          "operation-name" : "find-monitor-deadlocked-threads",
          "description" : "Finds cycles of threads that are in deadlock waiting to acquire object monitors.",
          "request-properties" : {},
          "reply-properties" : {
              "type" : {
                  "TYPE_MODEL_VALUE" : "LIST"
              },
              "value-type" : {
                  "TYPE_MODEL_VALUE" : "LONG"
              },
              "nillable" : true
          },
          "stability" : "default",
          "read-only" : true,
          "runtime-only" : true
      }

- 🅲 get-thread-allocated-bytes - An approximation of the total amount of memory, in bytes, allocated in heap memory for the thread with the specified ID.

  Request Parameter | Type | Required | Expressions Allowed | Default value | Description
  --- | --- | --- | --- | --- | ---
  id | LONG | true | false |  | A thread id.

  ### Reply properties

  An approximation of the total memory allocated, in bytes, in heap memory for the thread with the specified ID if the thread with the specified ID exists, the thread is alive, and thread memory allocation measurement is enabled; -1 otherwise.
  Type
    LONG

  Raw DMR model |
      {
          "operation-name" : "get-thread-allocated-bytes",
          "description" : "An approximation of the total amount of memory, in bytes, allocated in heap memory for the thread with the specified ID.",
          "request-properties" : {"id" : {
              "type" : {
                  "TYPE_MODEL_VALUE" : "LONG"
              },
              "description" : "A thread id.",
              "expressions-allowed" : false,
              "required" : true,
              "nillable" : false,
              "stability" : "default"
          }},
          "reply-properties" : {
              "type" : {
                  "TYPE_MODEL_VALUE" : "LONG"
              },
              "description" : "An approximation of the total memory allocated, in bytes, in heap memory for the thread with the specified ID if the thread with the specified ID exists, the thread is alive, and thread memory allocation measurement is enabled; -1 otherwise."
          },
          "stability" : "community",
          "read-only" : true,
          "runtime-only" : true
      }

- get-thread-cpu-time - Returns the total CPU time for a thread of the specified ID in nanoseconds.

  Request Parameter | Type | Required | Expressions Allowed | Default value | Description
  --- | --- | --- | --- | --- | ---
  id | LONG | true | false |  | The thread ID of the thread. Must be positive.

  ### Reply properties

  Type
    LONG

  Raw DMR model |
      {
          "operation-name" : "get-thread-cpu-time",
          "description" : "Returns the total CPU time for a thread of the specified ID in nanoseconds.",
          "request-properties" : {"id" : {
              "type" : {
                  "TYPE_MODEL_VALUE" : "LONG"
              },
              "description" : "The thread ID of the thread. Must be positive.",
              "expressions-allowed" : false,
              "required" : true,
              "nillable" : false,
              "stability" : "default"
          }},
          "reply-properties" : {"type" : {
              "TYPE_MODEL_VALUE" : "LONG"
          }},
          "stability" : "default",
          "read-only" : true,
          "runtime-only" : true
      }

- 🅲 get-thread-cpu-times - The total CPU time for each thread whose ID is in the input array ids in nanoseconds.

  Request Parameter | Type | Required | Expressions Allowed | Default value | Description
  --- | --- | --- | --- | --- | ---
  ids | LIST | true | false |  | A list of thread ids.

  ### Reply properties

  An array of long values, each of which is the amount of CPU time the thread whose ID is in the corresponding element of the input array of IDs has used, if the thread of a specified ID exists, the thread is alive, and CPU time measurement is enabled; -1 otherwise.
  Type
    LIST
  Value Type

        LONG

  Raw DMR model |
      {
          "operation-name" : "get-thread-cpu-times",
          "description" : "The total CPU time for each thread whose ID is in the input array ids in nanoseconds.",
          "request-properties" : {"ids" : {
              "type" : {
                  "TYPE_MODEL_VALUE" : "LIST"
              },
              "description" : "A list of thread ids.",
              "expressions-allowed" : false,
              "required" : true,
              "nillable" : false,
              "min-length" : 0,
              "max-length" : 2147483647,
              "stability" : "default",
              "value-type" : {
                  "TYPE_MODEL_VALUE" : "LONG"
              }
          }},
          "reply-properties" : {
              "type" : {
                  "TYPE_MODEL_VALUE" : "LIST"
              },
              "value-type" : {
                  "TYPE_MODEL_VALUE" : "LONG"
              },
              "description" : "An array of long values, each of which is the amount of CPU time the thread whose ID is in the corresponding element of the input array of IDs has used, if the thread of a specified ID exists, the thread is alive, and CPU time measurement is enabled; -1 otherwise."
          },
          "stability" : "community",
          "read-only" : true,
          "runtime-only" : true
      }

- get-thread-info - Returns the thread info for a thread of the specified id. The stack trace, locked monitors, and locked synchronizers in the returned reply object will be empty.

  Request Parameter | Type | Required | Expressions Allowed | Default value | Description
  --- | --- | --- | --- | --- | ---
  id | LONG | true | false |  | The thread ID of the thread. Must be positive.
  max-depth | INT | false | false | 0 | The maximum number of entries in the stack trace to be dumped. Integer.MAX_VALUE could be used to request the entire stack to be dumped.

  ### Reply properties

  Detyped representation of a java.lang.management.ThreadInfo object for the thread of the given ID; "undefined" if the thread of the given ID is not alive or it does not exist.
  Type
    OBJECT
  Value Type

        {
            "thread-id" => {
                "type" => LONG,
                "description" => "The ID of the thread.",
                "expressions-allowed" => false,
                "required" => false,
                "nillable" => true,
                "stability" => "default"
            },
            "thread-name" => {
                "type" => STRING,
                "description" => "The name of the thread.",
                "expressions-allowed" => false,
                "required" => false,
                "nillable" => true,
                "min-length" => 1,
                "max-length" => 2147483647,
                "stability" => "default"
            },
            "thread-state" => {
                "type" => STRING,
                "description" => "The state of the thread.",
                "expressions-allowed" => false,
                "required" => false,
                "nillable" => true,
                "stability" => "default"
            },
            "blocked-time" => {
                "type" => LONG,
                "description" => "The approximate accumulated elapsed time (in milliseconds) that the thread has blocked to enter or reenter a monitor since thread contention monitoring is enabled, or -1 if thread contention monitoring is not enabled.",
                "expressions-allowed" => false,
                "required" => true,
                "nillable" => false,
                "unit" => "MILLISECONDS",
                "stability" => "default"
            },
            "blocked-count" => {
                "type" => LONG,
                "description" => "The total number of times that the thread blocked to enter or reenter a monitor.",
                "expressions-allowed" => false,
                "required" => false,
                "nillable" => true,
                "stability" => "default"
            },
            "waited-time" => {
                "type" => LONG,
                "description" => "The approximate accumulated elapsed time (in milliseconds) that the thread has waited for notification since thread contention monitoring was enabled.",
                "expressions-allowed" => false,
                "required" => true,
                "nillable" => false,
                "unit" => "MILLISECONDS",
                "stability" => "default"
            },
            "waited-count" => {
                "type" => LONG,
                "description" => "The total number of times that the thread has waited for notification.",
                "expressions-allowed" => false,
                "required" => false,
                "nillable" => true,
                "stability" => "default"
            },
            "lock-info" => {
                "type" => OBJECT,
                "description" => "A detyped representation of the java.lang.management.LockInfo of an object for which the thread is blocked waiting.",
                "expressions-allowed" => false,
                "required" => false,
                "nillable" => true,
                "stability" => "default",
                "value-type" => {
                    "class-name" => {
                        "type" => STRING,
                        "description" => "The fully qualified name of the class of the lock object.",
                        "expressions-allowed" => false,
                        "required" => false,
                        "nillable" => true,
                        "min-length" => 1,
                        "max-length" => 2147483647,
                        "stability" => "default"
                    },
                    "identity-hash-code" => {
                        "type" => INT,
                        "description" => "The identity hash code of the lock object returned from the System.identityHashCode(java.lang.Object) method.",
                        "expressions-allowed" => false,
                        "required" => false,
                        "nillable" => true,
                        "stability" => "default"
                    }
                }
            },
            "lock-name" => {
                "type" => STRING,
                "description" => "The string representation of an object for which the thread is blocked waiting.",
                "expressions-allowed" => false,
                "required" => false,
                "nillable" => true,
                "min-length" => 1,
                "max-length" => 2147483647,
                "stability" => "default"
            },
            "lock-owner-id" => {
                "type" => LONG,
                "description" => "The ID of the thread which owns the object for which the thread is blocked waiting.",
                "expressions-allowed" => false,
                "required" => false,
                "nillable" => true,
                "stability" => "default"
            },
            "lock-owner-name" => {
                "type" => STRING,
                "description" => "The name of the thread which owns the object for which the thread is blocked waiting.",
                "expressions-allowed" => false,
                "required" => false,
                "nillable" => true,
                "min-length" => 1,
                "max-length" => 2147483647,
                "stability" => "default"
            },
            "stack-trace" => {
                "type" => LIST,
                "description" => "The stack trace of the thread.",
                "expressions-allowed" => false,
                "required" => false,
                "nillable" => true,
                "min-length" => 0,
                "max-length" => 2147483647,
                "stability" => "default",
                "value-type" => {
                    "file-name" => {
                        "type" => STRING,
                        "description" => "The name of the source file containing the execution point represented by this stack trace element.",
                        "expressions-allowed" => false,
                        "required" => false,
                        "nillable" => true,
                        "min-length" => 1,
                        "max-length" => 2147483647,
                        "stability" => "default"
                    },
                    "line-number" => {
                        "type" => INT,
                        "description" => "The line number of the source line containing the execution point represented by this stack trace element.",
                        "expressions-allowed" => false,
                        "required" => false,
                        "nillable" => true,
                        "stability" => "default"
                    },
                    "class-name" => {
                        "type" => STRING,
                        "description" => "The fully qualified name of the class containing the execution point represented by this stack trace element.",
                        "expressions-allowed" => false,
                        "required" => false,
                        "nillable" => true,
                        "min-length" => 1,
                        "max-length" => 2147483647,
                        "stability" => "default"
                    },
                    "method-name" => {
                        "type" => STRING,
                        "description" => "The name of the method containing the execution point represented by this stack trace element.",
                        "expressions-allowed" => false,
                        "required" => false,
                        "nillable" => true,
                        "min-length" => 1,
                        "max-length" => 2147483647,
                        "stability" => "default"
                    },
                    "native-method" => {
                        "type" => STRING,
                        "description" => "Whether the method containing the execution point represented by this stack trace element is a native method.",
                        "expressions-allowed" => false,
                        "required" => false,
                        "nillable" => true,
                        "min-length" => 1,
                        "max-length" => 2147483647,
                        "stability" => "default"
                    }
                }
            },
            "suspended" => {
                "type" => BOOLEAN,
                "description" => "Whether the thread is suspended.",
                "expressions-allowed" => false,
                "required" => false,
                "nillable" => true,
                "stability" => "default"
            },
            "in-native" => {
                "type" => BOOLEAN,
                "description" => "Whether the thread associated is executing native code via the Java Native Interface (JNI).",
                "expressions-allowed" => false,
                "required" => false,
                "nillable" => true,
                "stability" => "default"
            },
            "locked-monitors" => {
                "type" => LIST,
                "description" => "A list of detyped representations java.lang.management.MonitorInfo objects, each of which represents an object monitor currently locked by the thread.",
                "expressions-allowed" => false,
                "required" => false,
                "nillable" => true,
                "min-length" => 0,
                "max-length" => 2147483647,
                "stability" => "default",
                "value-type" => {
                    "locked-stack-depth" => {
                        "type" => INT,
                        "description" => "The depth in the stack trace where the object monitor was locked.",
                        "expressions-allowed" => false,
                        "required" => false,
                        "nillable" => true,
                        "stability" => "default"
                    },
                    "locked-stack-frame" => {
                        "type" => OBJECT,
                        "description" => "The stack frame that locked the object monitor.",
                        "expressions-allowed" => false,
                        "required" => false,
                        "nillable" => true,
                        "stability" => "default",
                        "value-type" => {
                            "file-name" => {
                                "type" => STRING,
                                "description" => "The name of the source file containing the execution point represented by this stack trace element.",
                                "expressions-allowed" => false,
                                "required" => false,
                                "nillable" => true,
                                "min-length" => 1,
                                "max-length" => 2147483647,
                                "stability" => "default"
                            },
                            "line-number" => {
                                "type" => INT,
                                "description" => "The line number of the source line containing the execution point represented by this stack trace element.",
                                "expressions-allowed" => false,
                                "required" => false,
                                "nillable" => true,
                                "stability" => "default"
                            },
                            "class-name" => {
                                "type" => STRING,
                                "description" => "The fully qualified name of the class containing the execution point represented by this stack trace element.",
                                "expressions-allowed" => false,
                                "required" => false,
                                "nillable" => true,
                                "min-length" => 1,
                                "max-length" => 2147483647,
                                "stability" => "default"
                            },
                            "method-name" => {
                                "type" => STRING,
                                "description" => "The name of the method containing the execution point represented by this stack trace element.",
                                "expressions-allowed" => false,
                                "required" => false,
                                "nillable" => true,
                                "min-length" => 1,
                                "max-length" => 2147483647,
                                "stability" => "default"
                            },
                            "native-method" => {
                                "type" => STRING,
                                "description" => "Whether the method containing the execution point represented by this stack trace element is a native method.",
                                "expressions-allowed" => false,
                                "required" => false,
                                "nillable" => true,
                                "min-length" => 1,
                                "max-length" => 2147483647,
                                "stability" => "default"
                            }
                        }
                    }
                }
            },
            "locked-synchronizers" => {
                "type" => LIST,
                "description" => "A list of detyped representations java.lang.management.LockInfo objects, each of which represents an ownable synchronizer currently locked by the thread.",
                "expressions-allowed" => false,
                "required" => false,
                "nillable" => true,
                "min-length" => 0,
                "max-length" => 2147483647,
                "stability" => "default",
                "value-type" => {
                    "class-name" => {
                        "type" => STRING,
                        "description" => "The fully qualified name of the class of the lock object.",
                        "expressions-allowed" => false,
                        "required" => false,
                        "nillable" => true,
                        "min-length" => 1,
                        "max-length" => 2147483647,
                        "stability" => "default"
                    },
                    "identity-hash-code" => {
                        "type" => INT,
                        "description" => "The identity hash code of the lock object returned from the System.identityHashCode(java.lang.Object) method.",
                        "expressions-allowed" => false,
                        "required" => false,
                        "nillable" => true,
                        "stability" => "default"
                    }
                }
            }
        }

  Raw DMR model |
      {
          "operation-name" : "get-thread-info",
          "description" : "Returns the thread info for a thread of the specified id. The stack trace, locked monitors, and locked synchronizers in the returned reply object will be empty.",
          "request-properties" : {
              "id" : {
                  "type" : {
                      "TYPE_MODEL_VALUE" : "LONG"
                  },
                  "description" : "The thread ID of the thread. Must be positive.",
                  "expressions-allowed" : false,
                  "required" : true,
                  "nillable" : false,
                  "stability" : "default"
              },
              "max-depth" : {
                  "type" : {
                      "TYPE_MODEL_VALUE" : "INT"
                  },
                  "description" : "The maximum number of entries in the stack trace to be dumped. Integer.MAX_VALUE could be used to request the entire stack to be dumped.",
                  "expressions-allowed" : false,
                  "required" : false,
                  "nillable" : true,
                  "default" : 0,
                  "stability" : "default"
              }
          },
          "reply-properties" : {
              "type" : {
                  "TYPE_MODEL_VALUE" : "OBJECT"
              },
              "value-type" : {
                  "thread-id" : {
                      "type" : {
                          "TYPE_MODEL_VALUE" : "LONG"
                      },
                      "description" : "The ID of the thread.",
                      "expressions-allowed" : false,
                      "required" : false,
                      "nillable" : true,
                      "stability" : "default"
                  },
                  "thread-name" : {
                      "type" : {
                          "TYPE_MODEL_VALUE" : "STRING"
                      },
                      "description" : "The name of the thread.",
                      "expressions-allowed" : false,
                      "required" : false,
                      "nillable" : true,
                      "min-length" : 1,
                      "max-length" : 2147483647,
                      "stability" : "default"
                  },
                  "thread-state" : {
                      "type" : {
                          "TYPE_MODEL_VALUE" : "STRING"
                      },
                      "description" : "The state of the thread.",
                      "expressions-allowed" : false,
                      "required" : false,
                      "nillable" : true,
                      "stability" : "default"
                  },
                  "blocked-time" : {
                      "type" : {
                          "TYPE_MODEL_VALUE" : "LONG"
                      },
                      "description" : "The approximate accumulated elapsed time (in milliseconds) that the thread has blocked to enter or reenter a monitor since thread contention monitoring is enabled, or -1 if thread contention monitoring is not enabled.",
                      "expressions-allowed" : false,
                      "required" : true,
                      "nillable" : false,
                      "unit" : "MILLISECONDS",
                      "stability" : "default"
                  },
                  "blocked-count" : {
                      "type" : {
                          "TYPE_MODEL_VALUE" : "LONG"
                      },
                      "description" : "The total number of times that the thread blocked to enter or reenter a monitor.",
                      "expressions-allowed" : false,
                      "required" : false,
                      "nillable" : true,
                      "stability" : "default"
                  },
                  "waited-time" : {
                      "type" : {
                          "TYPE_MODEL_VALUE" : "LONG"
                      },
                      "description" : "The approximate accumulated elapsed time (in milliseconds) that the thread has waited for notification since thread contention monitoring was enabled.",
                      "expressions-allowed" : false,
                      "required" : true,
                      "nillable" : false,
                      "unit" : "MILLISECONDS",
                      "stability" : "default"
                  },
                  "waited-count" : {
                      "type" : {
                          "TYPE_MODEL_VALUE" : "LONG"
                      },
                      "description" : "The total number of times that the thread has waited for notification.",
                      "expressions-allowed" : false,
                      "required" : false,
                      "nillable" : true,
                      "stability" : "default"
                  },
                  "lock-info" : {
                      "type" : {
                          "TYPE_MODEL_VALUE" : "OBJECT"
                      },
                      "description" : "A detyped representation of the java.lang.management.LockInfo of an object for which the thread is blocked waiting.",
                      "expressions-allowed" : false,
                      "required" : false,
                      "nillable" : true,
                      "stability" : "default",
                      "value-type" : {
                          "class-name" : {
                              "type" : {
                                  "TYPE_MODEL_VALUE" : "STRING"
                              },
                              "description" : "The fully qualified name of the class of the lock object.",
                              "expressions-allowed" : false,
                              "required" : false,
                              "nillable" : true,
                              "min-length" : 1,
                              "max-length" : 2147483647,
                              "stability" : "default"
                          },
                          "identity-hash-code" : {
                              "type" : {
                                  "TYPE_MODEL_VALUE" : "INT"
                              },
                              "description" : "The identity hash code of the lock object returned from the System.identityHashCode(java.lang.Object) method.",
                              "expressions-allowed" : false,
                              "required" : false,
                              "nillable" : true,
                              "stability" : "default"
                          }
                      }
                  },
                  "lock-name" : {
                      "type" : {
                          "TYPE_MODEL_VALUE" : "STRING"
                      },
                      "description" : "The string representation of an object for which the thread is blocked waiting.",
                      "expressions-allowed" : false,
                      "required" : false,
                      "nillable" : true,
                      "min-length" : 1,
                      "max-length" : 2147483647,
                      "stability" : "default"
                  },
                  "lock-owner-id" : {
                      "type" : {
                          "TYPE_MODEL_VALUE" : "LONG"
                      },
                      "description" : "The ID of the thread which owns the object for which the thread is blocked waiting.",
                      "expressions-allowed" : false,
                      "required" : false,
                      "nillable" : true,
                      "stability" : "default"
                  },
                  "lock-owner-name" : {
                      "type" : {
                          "TYPE_MODEL_VALUE" : "STRING"
                      },
                      "description" : "The name of the thread which owns the object for which the thread is blocked waiting.",
                      "expressions-allowed" : false,
                      "required" : false,
                      "nillable" : true,
                      "min-length" : 1,
                      "max-length" : 2147483647,
                      "stability" : "default"
                  },
                  "stack-trace" : {
                      "type" : {
                          "TYPE_MODEL_VALUE" : "LIST"
                      },
                      "description" : "The stack trace of the thread.",
                      "expressions-allowed" : false,
                      "required" : false,
                      "nillable" : true,
                      "min-length" : 0,
                      "max-length" : 2147483647,
                      "stability" : "default",
                      "value-type" : {
                          "file-name" : {
                              "type" : {
                                  "TYPE_MODEL_VALUE" : "STRING"
                              },
                              "description" : "The name of the source file containing the execution point represented by this stack trace element.",
                              "expressions-allowed" : false,
                              "required" : false,
                              "nillable" : true,
                              "min-length" : 1,
                              "max-length" : 2147483647,
                              "stability" : "default"
                          },
                          "line-number" : {
                              "type" : {
                                  "TYPE_MODEL_VALUE" : "INT"
                              },
                              "description" : "The line number of the source line containing the execution point represented by this stack trace element.",
                              "expressions-allowed" : false,
                              "required" : false,
                              "nillable" : true,
                              "stability" : "default"
                          },
                          "class-name" : {
                              "type" : {
                                  "TYPE_MODEL_VALUE" : "STRING"
                              },
                              "description" : "The fully qualified name of the class containing the execution point represented by this stack trace element.",
                              "expressions-allowed" : false,
                              "required" : false,
                              "nillable" : true,
                              "min-length" : 1,
                              "max-length" : 2147483647,
                              "stability" : "default"
                          },
                          "method-name" : {
                              "type" : {
                                  "TYPE_MODEL_VALUE" : "STRING"
                              },
                              "description" : "The name of the method containing the execution point represented by this stack trace element.",
                              "expressions-allowed" : false,
                              "required" : false,
                              "nillable" : true,
                              "min-length" : 1,
                              "max-length" : 2147483647,
                              "stability" : "default"
                          },
                          "native-method" : {
                              "type" : {
                                  "TYPE_MODEL_VALUE" : "STRING"
                              },
                              "description" : "Whether the method containing the execution point represented by this stack trace element is a native method.",
                              "expressions-allowed" : false,
                              "required" : false,
                              "nillable" : true,
                              "min-length" : 1,
                              "max-length" : 2147483647,
                              "stability" : "default"
                          }
                      }
                  },
                  "suspended" : {
                      "type" : {
                          "TYPE_MODEL_VALUE" : "BOOLEAN"
                      },
                      "description" : "Whether the thread is suspended.",
                      "expressions-allowed" : false,
                      "required" : false,
                      "nillable" : true,
                      "stability" : "default"
                  },
                  "in-native" : {
                      "type" : {
                          "TYPE_MODEL_VALUE" : "BOOLEAN"
                      },
                      "description" : "Whether the thread associated is executing native code via the Java Native Interface (JNI).",
                      "expressions-allowed" : false,
                      "required" : false,
                      "nillable" : true,
                      "stability" : "default"
                  },
                  "locked-monitors" : {
                      "type" : {
                          "TYPE_MODEL_VALUE" : "LIST"
                      },
                      "description" : "A list of detyped representations java.lang.management.MonitorInfo objects, each of which represents an object monitor currently locked by the thread.",
                      "expressions-allowed" : false,
                      "required" : false,
                      "nillable" : true,
                      "min-length" : 0,
                      "max-length" : 2147483647,
                      "stability" : "default",
                      "value-type" : {
                          "locked-stack-depth" : {
                              "type" : {
                                  "TYPE_MODEL_VALUE" : "INT"
                              },
                              "description" : "The depth in the stack trace where the object monitor was locked.",
                              "expressions-allowed" : false,
                              "required" : false,
                              "nillable" : true,
                              "stability" : "default"
                          },
                          "locked-stack-frame" : {
                              "type" : {
                                  "TYPE_MODEL_VALUE" : "OBJECT"
                              },
                              "description" : "The stack frame that locked the object monitor.",
                              "expressions-allowed" : false,
                              "required" : false,
                              "nillable" : true,
                              "stability" : "default",
                              "value-type" : {
                                  "file-name" : {
                                      "type" : {
                                          "TYPE_MODEL_VALUE" : "STRING"
                                      },
                                      "description" : "The name of the source file containing the execution point represented by this stack trace element.",
                                      "expressions-allowed" : false,
                                      "required" : false,
                                      "nillable" : true,
                                      "min-length" : 1,
                                      "max-length" : 2147483647,
                                      "stability" : "default"
                                  },
                                  "line-number" : {
                                      "type" : {
                                          "TYPE_MODEL_VALUE" : "INT"
                                      },
                                      "description" : "The line number of the source line containing the execution point represented by this stack trace element.",
                                      "expressions-allowed" : false,
                                      "required" : false,
                                      "nillable" : true,
                                      "stability" : "default"
                                  },
                                  "class-name" : {
                                      "type" : {
                                          "TYPE_MODEL_VALUE" : "STRING"
                                      },
                                      "description" : "The fully qualified name of the class containing the execution point represented by this stack trace element.",
                                      "expressions-allowed" : false,
                                      "required" : false,
                                      "nillable" : true,
                                      "min-length" : 1,
                                      "max-length" : 2147483647,
                                      "stability" : "default"
                                  },
                                  "method-name" : {
                                      "type" : {
                                          "TYPE_MODEL_VALUE" : "STRING"
                                      },
                                      "description" : "The name of the method containing the execution point represented by this stack trace element.",
                                      "expressions-allowed" : false,
                                      "required" : false,
                                      "nillable" : true,
                                      "min-length" : 1,
                                      "max-length" : 2147483647,
                                      "stability" : "default"
                                  },
                                  "native-method" : {
                                      "type" : {
                                          "TYPE_MODEL_VALUE" : "STRING"
                                      },
                                      "description" : "Whether the method containing the execution point represented by this stack trace element is a native method.",
                                      "expressions-allowed" : false,
                                      "required" : false,
                                      "nillable" : true,
                                      "min-length" : 1,
                                      "max-length" : 2147483647,
                                      "stability" : "default"
                                  }
                              }
                          }
                      }
                  },
                  "locked-synchronizers" : {
                      "type" : {
                          "TYPE_MODEL_VALUE" : "LIST"
                      },
                      "description" : "A list of detyped representations java.lang.management.LockInfo objects, each of which represents an ownable synchronizer currently locked by the thread.",
                      "expressions-allowed" : false,
                      "required" : false,
                      "nillable" : true,
                      "min-length" : 0,
                      "max-length" : 2147483647,
                      "stability" : "default",
                      "value-type" : {
                          "class-name" : {
                              "type" : {
                                  "TYPE_MODEL_VALUE" : "STRING"
                              },
                              "description" : "The fully qualified name of the class of the lock object.",
                              "expressions-allowed" : false,
                              "required" : false,
                              "nillable" : true,
                              "min-length" : 1,
                              "max-length" : 2147483647,
                              "stability" : "default"
                          },
                          "identity-hash-code" : {
                              "type" : {
                                  "TYPE_MODEL_VALUE" : "INT"
                              },
                              "description" : "The identity hash code of the lock object returned from the System.identityHashCode(java.lang.Object) method.",
                              "expressions-allowed" : false,
                              "required" : false,
                              "nillable" : true,
                              "stability" : "default"
                          }
                      }
                  }
              },
              "description" : "Detyped representation of a java.lang.management.ThreadInfo object for the thread of the given ID; \"undefined\" if the thread of the given ID is not alive or it does not exist.",
              "nillable" : true
          },
          "stability" : "default",
          "read-only" : true,
          "runtime-only" : true
      }

- get-thread-infos - Returns the thread info for each thread whose ID is in the input list.

  Request Parameter | Type | Required | Expressions Allowed | Default value | Description
  --- | --- | --- | --- | --- | ---
  ids | LIST | true | false |  | A list of thread ids.
  max-depth | INT | false | false | 0 | The maximum number of entries in the stack trace to be dumped. Integer.MAX_VALUE could be used to request the entire stack to be dumped.
  locked-monitors | BOOLEAN | false | false | false | A list of detyped representations java.lang.management.MonitorInfo objects, each of which represents an object monitor currently locked by the thread.
  locked-synchronizers | BOOLEAN | false | false | false | A list of detyped representations java.lang.management.LockInfo objects, each of which represents an ownable synchronizer currently locked by the thread.

  ### Reply properties

  A list of detyped representations of java.lang.management.ThreadInfo objects, each containing information about a thread whose ID is in the corresponding element of the input list of IDs. An element will be "undefined" if the thread of the given ID is not alive or it does not exist.
  Type
    LIST
  Value Type

        {
            "thread-id" => {
                "type" => LONG,
                "description" => "The ID of the thread.",
                "expressions-allowed" => false,
                "required" => false,
                "nillable" => true,
                "stability" => "default"
            },
            "thread-name" => {
                "type" => STRING,
                "description" => "The name of the thread.",
                "expressions-allowed" => false,
                "required" => false,
                "nillable" => true,
                "min-length" => 1,
                "max-length" => 2147483647,
                "stability" => "default"
            },
            "thread-state" => {
                "type" => STRING,
                "description" => "The state of the thread.",
                "expressions-allowed" => false,
                "required" => false,
                "nillable" => true,
                "stability" => "default"
            },
            "blocked-time" => {
                "type" => LONG,
                "description" => "The approximate accumulated elapsed time (in milliseconds) that the thread has blocked to enter or reenter a monitor since thread contention monitoring is enabled, or -1 if thread contention monitoring is not enabled.",
                "expressions-allowed" => false,
                "required" => true,
                "nillable" => false,
                "unit" => "MILLISECONDS",
                "stability" => "default"
            },
            "blocked-count" => {
                "type" => LONG,
                "description" => "The total number of times that the thread blocked to enter or reenter a monitor.",
                "expressions-allowed" => false,
                "required" => false,
                "nillable" => true,
                "stability" => "default"
            },
            "waited-time" => {
                "type" => LONG,
                "description" => "The approximate accumulated elapsed time (in milliseconds) that the thread has waited for notification since thread contention monitoring was enabled.",
                "expressions-allowed" => false,
                "required" => true,
                "nillable" => false,
                "unit" => "MILLISECONDS",
                "stability" => "default"
            },
            "waited-count" => {
                "type" => LONG,
                "description" => "The total number of times that the thread has waited for notification.",
                "expressions-allowed" => false,
                "required" => false,
                "nillable" => true,
                "stability" => "default"
            },
            "lock-info" => {
                "type" => OBJECT,
                "description" => "A detyped representation of the java.lang.management.LockInfo of an object for which the thread is blocked waiting.",
                "expressions-allowed" => false,
                "required" => false,
                "nillable" => true,
                "stability" => "default",
                "value-type" => {
                    "class-name" => {
                        "type" => STRING,
                        "description" => "The fully qualified name of the class of the lock object.",
                        "expressions-allowed" => false,
                        "required" => false,
                        "nillable" => true,
                        "min-length" => 1,
                        "max-length" => 2147483647,
                        "stability" => "default"
                    },
                    "identity-hash-code" => {
                        "type" => INT,
                        "description" => "The identity hash code of the lock object returned from the System.identityHashCode(java.lang.Object) method.",
                        "expressions-allowed" => false,
                        "required" => false,
                        "nillable" => true,
                        "stability" => "default"
                    }
                }
            },
            "lock-name" => {
                "type" => STRING,
                "description" => "The string representation of an object for which the thread is blocked waiting.",
                "expressions-allowed" => false,
                "required" => false,
                "nillable" => true,
                "min-length" => 1,
                "max-length" => 2147483647,
                "stability" => "default"
            },
            "lock-owner-id" => {
                "type" => LONG,
                "description" => "The ID of the thread which owns the object for which the thread is blocked waiting.",
                "expressions-allowed" => false,
                "required" => false,
                "nillable" => true,
                "stability" => "default"
            },
            "lock-owner-name" => {
                "type" => STRING,
                "description" => "The name of the thread which owns the object for which the thread is blocked waiting.",
                "expressions-allowed" => false,
                "required" => false,
                "nillable" => true,
                "min-length" => 1,
                "max-length" => 2147483647,
                "stability" => "default"
            },
            "stack-trace" => {
                "type" => LIST,
                "description" => "The stack trace of the thread.",
                "expressions-allowed" => false,
                "required" => false,
                "nillable" => true,
                "min-length" => 0,
                "max-length" => 2147483647,
                "stability" => "default",
                "value-type" => {
                    "file-name" => {
                        "type" => STRING,
                        "description" => "The name of the source file containing the execution point represented by this stack trace element.",
                        "expressions-allowed" => false,
                        "required" => false,
                        "nillable" => true,
                        "min-length" => 1,
                        "max-length" => 2147483647,
                        "stability" => "default"
                    },
                    "line-number" => {
                        "type" => INT,
                        "description" => "The line number of the source line containing the execution point represented by this stack trace element.",
                        "expressions-allowed" => false,
                        "required" => false,
                        "nillable" => true,
                        "stability" => "default"
                    },
                    "class-name" => {
                        "type" => STRING,
                        "description" => "The fully qualified name of the class containing the execution point represented by this stack trace element.",
                        "expressions-allowed" => false,
                        "required" => false,
                        "nillable" => true,
                        "min-length" => 1,
                        "max-length" => 2147483647,
                        "stability" => "default"
                    },
                    "method-name" => {
                        "type" => STRING,
                        "description" => "The name of the method containing the execution point represented by this stack trace element.",
                        "expressions-allowed" => false,
                        "required" => false,
                        "nillable" => true,
                        "min-length" => 1,
                        "max-length" => 2147483647,
                        "stability" => "default"
                    },
                    "native-method" => {
                        "type" => STRING,
                        "description" => "Whether the method containing the execution point represented by this stack trace element is a native method.",
                        "expressions-allowed" => false,
                        "required" => false,
                        "nillable" => true,
                        "min-length" => 1,
                        "max-length" => 2147483647,
                        "stability" => "default"
                    }
                }
            },
            "suspended" => {
                "type" => BOOLEAN,
                "description" => "Whether the thread is suspended.",
                "expressions-allowed" => false,
                "required" => false,
                "nillable" => true,
                "stability" => "default"
            },
            "in-native" => {
                "type" => BOOLEAN,
                "description" => "Whether the thread associated is executing native code via the Java Native Interface (JNI).",
                "expressions-allowed" => false,
                "required" => false,
                "nillable" => true,
                "stability" => "default"
            },
            "locked-monitors" => {
                "type" => LIST,
                "description" => "A list of detyped representations java.lang.management.MonitorInfo objects, each of which represents an object monitor currently locked by the thread.",
                "expressions-allowed" => false,
                "required" => false,
                "nillable" => true,
                "min-length" => 0,
                "max-length" => 2147483647,
                "stability" => "default",
                "value-type" => {
                    "locked-stack-depth" => {
                        "type" => INT,
                        "description" => "The depth in the stack trace where the object monitor was locked.",
                        "expressions-allowed" => false,
                        "required" => false,
                        "nillable" => true,
                        "stability" => "default"
                    },
                    "locked-stack-frame" => {
                        "type" => OBJECT,
                        "description" => "The stack frame that locked the object monitor.",
                        "expressions-allowed" => false,
                        "required" => false,
                        "nillable" => true,
                        "stability" => "default",
                        "value-type" => {
                            "file-name" => {
                                "type" => STRING,
                                "description" => "The name of the source file containing the execution point represented by this stack trace element.",
                                "expressions-allowed" => false,
                                "required" => false,
                                "nillable" => true,
                                "min-length" => 1,
                                "max-length" => 2147483647,
                                "stability" => "default"
                            },
                            "line-number" => {
                                "type" => INT,
                                "description" => "The line number of the source line containing the execution point represented by this stack trace element.",
                                "expressions-allowed" => false,
                                "required" => false,
                                "nillable" => true,
                                "stability" => "default"
                            },
                            "class-name" => {
                                "type" => STRING,
                                "description" => "The fully qualified name of the class containing the execution point represented by this stack trace element.",
                                "expressions-allowed" => false,
                                "required" => false,
                                "nillable" => true,
                                "min-length" => 1,
                                "max-length" => 2147483647,
                                "stability" => "default"
                            },
                            "method-name" => {
                                "type" => STRING,
                                "description" => "The name of the method containing the execution point represented by this stack trace element.",
                                "expressions-allowed" => false,
                                "required" => false,
                                "nillable" => true,
                                "min-length" => 1,
                                "max-length" => 2147483647,
                                "stability" => "default"
                            },
                            "native-method" => {
                                "type" => STRING,
                                "description" => "Whether the method containing the execution point represented by this stack trace element is a native method.",
                                "expressions-allowed" => false,
                                "required" => false,
                                "nillable" => true,
                                "min-length" => 1,
                                "max-length" => 2147483647,
                                "stability" => "default"
                            }
                        }
                    }
                }
            },
            "locked-synchronizers" => {
                "type" => LIST,
                "description" => "A list of detyped representations java.lang.management.LockInfo objects, each of which represents an ownable synchronizer currently locked by the thread.",
                "expressions-allowed" => false,
                "required" => false,
                "nillable" => true,
                "min-length" => 0,
                "max-length" => 2147483647,
                "stability" => "default",
                "value-type" => {
                    "class-name" => {
                        "type" => STRING,
                        "description" => "The fully qualified name of the class of the lock object.",
                        "expressions-allowed" => false,
                        "required" => false,
                        "nillable" => true,
                        "min-length" => 1,
                        "max-length" => 2147483647,
                        "stability" => "default"
                    },
                    "identity-hash-code" => {
                        "type" => INT,
                        "description" => "The identity hash code of the lock object returned from the System.identityHashCode(java.lang.Object) method.",
                        "expressions-allowed" => false,
                        "required" => false,
                        "nillable" => true,
                        "stability" => "default"
                    }
                }
            }
        }

  Raw DMR model |
      {
          "operation-name" : "get-thread-infos",
          "description" : "Returns the thread info for each thread whose ID is in the input list.",
          "request-properties" : {
              "ids" : {
                  "type" : {
                      "TYPE_MODEL_VALUE" : "LIST"
                  },
                  "description" : "A list of thread ids.",
                  "expressions-allowed" : false,
                  "required" : true,
                  "nillable" : false,
                  "min-length" : 0,
                  "max-length" : 2147483647,
                  "stability" : "default",
                  "value-type" : {
                      "TYPE_MODEL_VALUE" : "LONG"
                  }
              },
              "max-depth" : {
                  "type" : {
                      "TYPE_MODEL_VALUE" : "INT"
                  },
                  "description" : "The maximum number of entries in the stack trace to be dumped. Integer.MAX_VALUE could be used to request the entire stack to be dumped.",
                  "expressions-allowed" : false,
                  "required" : false,
                  "nillable" : true,
                  "default" : 0,
                  "stability" : "default"
              },
              "locked-monitors" : {
                  "type" : {
                      "TYPE_MODEL_VALUE" : "BOOLEAN"
                  },
                  "description" : "A list of detyped representations java.lang.management.MonitorInfo objects, each of which represents an object monitor currently locked by the thread.",
                  "expressions-allowed" : false,
                  "required" : false,
                  "nillable" : true,
                  "default" : false,
                  "stability" : "default"
              },
              "locked-synchronizers" : {
                  "type" : {
                      "TYPE_MODEL_VALUE" : "BOOLEAN"
                  },
                  "description" : "A list of detyped representations java.lang.management.LockInfo objects, each of which represents an ownable synchronizer currently locked by the thread.",
                  "expressions-allowed" : false,
                  "required" : false,
                  "nillable" : true,
                  "default" : false,
                  "stability" : "default"
              }
          },
          "reply-properties" : {
              "type" : {
                  "TYPE_MODEL_VALUE" : "LIST"
              },
              "value-type" : {
                  "thread-id" : {
                      "type" : {
                          "TYPE_MODEL_VALUE" : "LONG"
                      },
                      "description" : "The ID of the thread.",
                      "expressions-allowed" : false,
                      "required" : false,
                      "nillable" : true,
                      "stability" : "default"
                  },
                  "thread-name" : {
                      "type" : {
                          "TYPE_MODEL_VALUE" : "STRING"
                      },
                      "description" : "The name of the thread.",
                      "expressions-allowed" : false,
                      "required" : false,
                      "nillable" : true,
                      "min-length" : 1,
                      "max-length" : 2147483647,
                      "stability" : "default"
                  },
                  "thread-state" : {
                      "type" : {
                          "TYPE_MODEL_VALUE" : "STRING"
                      },
                      "description" : "The state of the thread.",
                      "expressions-allowed" : false,
                      "required" : false,
                      "nillable" : true,
                      "stability" : "default"
                  },
                  "blocked-time" : {
                      "type" : {
                          "TYPE_MODEL_VALUE" : "LONG"
                      },
                      "description" : "The approximate accumulated elapsed time (in milliseconds) that the thread has blocked to enter or reenter a monitor since thread contention monitoring is enabled, or -1 if thread contention monitoring is not enabled.",
                      "expressions-allowed" : false,
                      "required" : true,
                      "nillable" : false,
                      "unit" : "MILLISECONDS",
                      "stability" : "default"
                  },
                  "blocked-count" : {
                      "type" : {
                          "TYPE_MODEL_VALUE" : "LONG"
                      },
                      "description" : "The total number of times that the thread blocked to enter or reenter a monitor.",
                      "expressions-allowed" : false,
                      "required" : false,
                      "nillable" : true,
                      "stability" : "default"
                  },
                  "waited-time" : {
                      "type" : {
                          "TYPE_MODEL_VALUE" : "LONG"
                      },
                      "description" : "The approximate accumulated elapsed time (in milliseconds) that the thread has waited for notification since thread contention monitoring was enabled.",
                      "expressions-allowed" : false,
                      "required" : true,
                      "nillable" : false,
                      "unit" : "MILLISECONDS",
                      "stability" : "default"
                  },
                  "waited-count" : {
                      "type" : {
                          "TYPE_MODEL_VALUE" : "LONG"
                      },
                      "description" : "The total number of times that the thread has waited for notification.",
                      "expressions-allowed" : false,
                      "required" : false,
                      "nillable" : true,
                      "stability" : "default"
                  },
                  "lock-info" : {
                      "type" : {
                          "TYPE_MODEL_VALUE" : "OBJECT"
                      },
                      "description" : "A detyped representation of the java.lang.management.LockInfo of an object for which the thread is blocked waiting.",
                      "expressions-allowed" : false,
                      "required" : false,
                      "nillable" : true,
                      "stability" : "default",
                      "value-type" : {
                          "class-name" : {
                              "type" : {
                                  "TYPE_MODEL_VALUE" : "STRING"
                              },
                              "description" : "The fully qualified name of the class of the lock object.",
                              "expressions-allowed" : false,
                              "required" : false,
                              "nillable" : true,
                              "min-length" : 1,
                              "max-length" : 2147483647,
                              "stability" : "default"
                          },
                          "identity-hash-code" : {
                              "type" : {
                                  "TYPE_MODEL_VALUE" : "INT"
                              },
                              "description" : "The identity hash code of the lock object returned from the System.identityHashCode(java.lang.Object) method.",
                              "expressions-allowed" : false,
                              "required" : false,
                              "nillable" : true,
                              "stability" : "default"
                          }
                      }
                  },
                  "lock-name" : {
                      "type" : {
                          "TYPE_MODEL_VALUE" : "STRING"
                      },
                      "description" : "The string representation of an object for which the thread is blocked waiting.",
                      "expressions-allowed" : false,
                      "required" : false,
                      "nillable" : true,
                      "min-length" : 1,
                      "max-length" : 2147483647,
                      "stability" : "default"
                  },
                  "lock-owner-id" : {
                      "type" : {
                          "TYPE_MODEL_VALUE" : "LONG"
                      },
                      "description" : "The ID of the thread which owns the object for which the thread is blocked waiting.",
                      "expressions-allowed" : false,
                      "required" : false,
                      "nillable" : true,
                      "stability" : "default"
                  },
                  "lock-owner-name" : {
                      "type" : {
                          "TYPE_MODEL_VALUE" : "STRING"
                      },
                      "description" : "The name of the thread which owns the object for which the thread is blocked waiting.",
                      "expressions-allowed" : false,
                      "required" : false,
                      "nillable" : true,
                      "min-length" : 1,
                      "max-length" : 2147483647,
                      "stability" : "default"
                  },
                  "stack-trace" : {
                      "type" : {
                          "TYPE_MODEL_VALUE" : "LIST"
                      },
                      "description" : "The stack trace of the thread.",
                      "expressions-allowed" : false,
                      "required" : false,
                      "nillable" : true,
                      "min-length" : 0,
                      "max-length" : 2147483647,
                      "stability" : "default",
                      "value-type" : {
                          "file-name" : {
                              "type" : {
                                  "TYPE_MODEL_VALUE" : "STRING"
                              },
                              "description" : "The name of the source file containing the execution point represented by this stack trace element.",
                              "expressions-allowed" : false,
                              "required" : false,
                              "nillable" : true,
                              "min-length" : 1,
                              "max-length" : 2147483647,
                              "stability" : "default"
                          },
                          "line-number" : {
                              "type" : {
                                  "TYPE_MODEL_VALUE" : "INT"
                              },
                              "description" : "The line number of the source line containing the execution point represented by this stack trace element.",
                              "expressions-allowed" : false,
                              "required" : false,
                              "nillable" : true,
                              "stability" : "default"
                          },
                          "class-name" : {
                              "type" : {
                                  "TYPE_MODEL_VALUE" : "STRING"
                              },
                              "description" : "The fully qualified name of the class containing the execution point represented by this stack trace element.",
                              "expressions-allowed" : false,
                              "required" : false,
                              "nillable" : true,
                              "min-length" : 1,
                              "max-length" : 2147483647,
                              "stability" : "default"
                          },
                          "method-name" : {
                              "type" : {
                                  "TYPE_MODEL_VALUE" : "STRING"
                              },
                              "description" : "The name of the method containing the execution point represented by this stack trace element.",
                              "expressions-allowed" : false,
                              "required" : false,
                              "nillable" : true,
                              "min-length" : 1,
                              "max-length" : 2147483647,
                              "stability" : "default"
                          },
                          "native-method" : {
                              "type" : {
                                  "TYPE_MODEL_VALUE" : "STRING"
                              },
                              "description" : "Whether the method containing the execution point represented by this stack trace element is a native method.",
                              "expressions-allowed" : false,
                              "required" : false,
                              "nillable" : true,
                              "min-length" : 1,
                              "max-length" : 2147483647,
                              "stability" : "default"
                          }
                      }
                  },
                  "suspended" : {
                      "type" : {
                          "TYPE_MODEL_VALUE" : "BOOLEAN"
                      },
                      "description" : "Whether the thread is suspended.",
                      "expressions-allowed" : false,
                      "required" : false,
                      "nillable" : true,
                      "stability" : "default"
                  },
                  "in-native" : {
                      "type" : {
                          "TYPE_MODEL_VALUE" : "BOOLEAN"
                      },
                      "description" : "Whether the thread associated is executing native code via the Java Native Interface (JNI).",
                      "expressions-allowed" : false,
                      "required" : false,
                      "nillable" : true,
                      "stability" : "default"
                  },
                  "locked-monitors" : {
                      "type" : {
                          "TYPE_MODEL_VALUE" : "LIST"
                      },
                      "description" : "A list of detyped representations java.lang.management.MonitorInfo objects, each of which represents an object monitor currently locked by the thread.",
                      "expressions-allowed" : false,
                      "required" : false,
                      "nillable" : true,
                      "min-length" : 0,
                      "max-length" : 2147483647,
                      "stability" : "default",
                      "value-type" : {
                          "locked-stack-depth" : {
                              "type" : {
                                  "TYPE_MODEL_VALUE" : "INT"
                              },
                              "description" : "The depth in the stack trace where the object monitor was locked.",
                              "expressions-allowed" : false,
                              "required" : false,
                              "nillable" : true,
                              "stability" : "default"
                          },
                          "locked-stack-frame" : {
                              "type" : {
                                  "TYPE_MODEL_VALUE" : "OBJECT"
                              },
                              "description" : "The stack frame that locked the object monitor.",
                              "expressions-allowed" : false,
                              "required" : false,
                              "nillable" : true,
                              "stability" : "default",
                              "value-type" : {
                                  "file-name" : {
                                      "type" : {
                                          "TYPE_MODEL_VALUE" : "STRING"
                                      },
                                      "description" : "The name of the source file containing the execution point represented by this stack trace element.",
                                      "expressions-allowed" : false,
                                      "required" : false,
                                      "nillable" : true,
                                      "min-length" : 1,
                                      "max-length" : 2147483647,
                                      "stability" : "default"
                                  },
                                  "line-number" : {
                                      "type" : {
                                          "TYPE_MODEL_VALUE" : "INT"
                                      },
                                      "description" : "The line number of the source line containing the execution point represented by this stack trace element.",
                                      "expressions-allowed" : false,
                                      "required" : false,
                                      "nillable" : true,
                                      "stability" : "default"
                                  },
                                  "class-name" : {
                                      "type" : {
                                          "TYPE_MODEL_VALUE" : "STRING"
                                      },
                                      "description" : "The fully qualified name of the class containing the execution point represented by this stack trace element.",
                                      "expressions-allowed" : false,
                                      "required" : false,
                                      "nillable" : true,
                                      "min-length" : 1,
                                      "max-length" : 2147483647,
                                      "stability" : "default"
                                  },
                                  "method-name" : {
                                      "type" : {
                                          "TYPE_MODEL_VALUE" : "STRING"
                                      },
                                      "description" : "The name of the method containing the execution point represented by this stack trace element.",
                                      "expressions-allowed" : false,
                                      "required" : false,
                                      "nillable" : true,
                                      "min-length" : 1,
                                      "max-length" : 2147483647,
                                      "stability" : "default"
                                  },
                                  "native-method" : {
                                      "type" : {
                                          "TYPE_MODEL_VALUE" : "STRING"
                                      },
                                      "description" : "Whether the method containing the execution point represented by this stack trace element is a native method.",
                                      "expressions-allowed" : false,
                                      "required" : false,
                                      "nillable" : true,
                                      "min-length" : 1,
                                      "max-length" : 2147483647,
                                      "stability" : "default"
                                  }
                              }
                          }
                      }
                  },
                  "locked-synchronizers" : {
                      "type" : {
                          "TYPE_MODEL_VALUE" : "LIST"
                      },
                      "description" : "A list of detyped representations java.lang.management.LockInfo objects, each of which represents an ownable synchronizer currently locked by the thread.",
                      "expressions-allowed" : false,
                      "required" : false,
                      "nillable" : true,
                      "min-length" : 0,
                      "max-length" : 2147483647,
                      "stability" : "default",
                      "value-type" : {
                          "class-name" : {
                              "type" : {
                                  "TYPE_MODEL_VALUE" : "STRING"
                              },
                              "description" : "The fully qualified name of the class of the lock object.",
                              "expressions-allowed" : false,
                              "required" : false,
                              "nillable" : true,
                              "min-length" : 1,
                              "max-length" : 2147483647,
                              "stability" : "default"
                          },
                          "identity-hash-code" : {
                              "type" : {
                                  "TYPE_MODEL_VALUE" : "INT"
                              },
                              "description" : "The identity hash code of the lock object returned from the System.identityHashCode(java.lang.Object) method.",
                              "expressions-allowed" : false,
                              "required" : false,
                              "nillable" : true,
                              "stability" : "default"
                          }
                      }
                  }
              },
              "description" : "A list of detyped representations of java.lang.management.ThreadInfo objects, each containing information about a thread whose ID is in the corresponding element of the input list of IDs. An element will be \"undefined\" if the thread of the given ID is not alive or it does not exist."
          },
          "stability" : "default",
          "read-only" : true,
          "runtime-only" : true
      }

- get-thread-user-time - Returns the CPU time that a thread of the specified ID has executed in user mode in nanoseconds.

  Request Parameter | Type | Required | Expressions Allowed | Default value | Description
  --- | --- | --- | --- | --- | ---
  id | LONG | true | false |  | The thread ID of the thread. Must be positive.

  ### Reply properties

  Type
    LONG

  Raw DMR model |
      {
          "operation-name" : "get-thread-user-time",
          "description" : "Returns the CPU time that a thread of the specified ID has executed in user mode in nanoseconds.",
          "request-properties" : {"id" : {
              "type" : {
                  "TYPE_MODEL_VALUE" : "LONG"
              },
              "description" : "The thread ID of the thread. Must be positive.",
              "expressions-allowed" : false,
              "required" : true,
              "nillable" : false,
              "stability" : "default"
          }},
          "reply-properties" : {"type" : {
              "TYPE_MODEL_VALUE" : "LONG"
          }},
          "stability" : "default",
          "read-only" : true,
          "runtime-only" : true
      }

- 🅲 get-thread-user-times - The CPU time that each thread whose ID is in the input array ids has executed in user mode in nanoseconds.

  Request Parameter | Type | Required | Expressions Allowed | Default value | Description
  --- | --- | --- | --- | --- | ---
  ids | LIST | true | false |  | A list of thread ids.

  ### Reply properties

  An array of long values, each of which is the amount of CPU time the thread whose ID is in the corresponding element of the input array of IDs has used, if the thread of a specified ID exists, the thread is alive, and CPU time measurement is enabled; -1 otherwise.
  Type
    LIST
  Value Type

        LONG

  Raw DMR model |
      {
          "operation-name" : "get-thread-user-times",
          "description" : "The CPU time that each thread whose ID is in the input array ids has executed in user mode in nanoseconds.",
          "request-properties" : {"ids" : {
              "type" : {
                  "TYPE_MODEL_VALUE" : "LIST"
              },
              "description" : "A list of thread ids.",
              "expressions-allowed" : false,
              "required" : true,
              "nillable" : false,
              "min-length" : 0,
              "max-length" : 2147483647,
              "stability" : "default",
              "value-type" : {
                  "TYPE_MODEL_VALUE" : "LONG"
              }
          }},
          "reply-properties" : {
              "type" : {
                  "TYPE_MODEL_VALUE" : "LIST"
              },
              "value-type" : {
                  "TYPE_MODEL_VALUE" : "LONG"
              },
              "description" : "An array of long values, each of which is the amount of CPU time the thread whose ID is in the corresponding element of the input array of IDs has used, if the thread of a specified ID exists, the thread is alive, and CPU time measurement is enabled; -1 otherwise."
          },
          "stability" : "community",
          "read-only" : true,
          "runtime-only" : true
      }

- 🅲 get-threads-allocated-bytes - An approximation of the total amount of memory, in bytes, allocated in heap memory for each thread whose ID is in the input array ids. This maps to the mbean's getThreadAllocatedBytes(long[] ids) operation.

  Request Parameter | Type | Required | Expressions Allowed | Default value | Description
  --- | --- | --- | --- | --- | ---
  ids | LIST | true | false |  | A list of thread ids.

  ### Reply properties

  An array of long values, each of which is an approximation of the total memory allocated, in bytes, in heap memory for the thread whose ID is in the corresponding element of the input array of IDs.
  Type
    LIST
  Value Type

        LONG

  Raw DMR model |
      {
          "operation-name" : "get-threads-allocated-bytes",
          "description" : "An approximation of the total amount of memory, in bytes, allocated in heap memory for each thread whose ID is in the input array ids. This maps to the mbean's getThreadAllocatedBytes(long[] ids) operation.",
          "request-properties" : {"ids" : {
              "type" : {
                  "TYPE_MODEL_VALUE" : "LIST"
              },
              "description" : "A list of thread ids.",
              "expressions-allowed" : false,
              "required" : true,
              "nillable" : false,
              "min-length" : 0,
              "max-length" : 2147483647,
              "stability" : "default",
              "value-type" : {
                  "TYPE_MODEL_VALUE" : "LONG"
              }
          }},
          "reply-properties" : {
              "type" : {
                  "TYPE_MODEL_VALUE" : "LIST"
              },
              "value-type" : {
                  "TYPE_MODEL_VALUE" : "LONG"
              },
              "description" : "An array of long values, each of which is an approximation of the total memory allocated, in bytes, in heap memory for the thread whose ID is in the corresponding element of the input array of IDs."
          },
          "stability" : "community",
          "read-only" : true,
          "runtime-only" : true
      }

- read-resource - Reads a model resource's attribute values along with either basic or complete information about any child resources

  Request Parameter | Type | Required | Expressions Allowed | Default value | Description
  --- | --- | --- | --- | --- | ---
  recursive | BOOLEAN | false | false |  | Whether to include complete information about child resources, recursively. If absent, false is the default
  recursive-depth | INT | false | false |  | The depth to which information about child resources should be included.
  proxies | BOOLEAN | false | false | false | Whether to include remote resources in a recursive query (i.e. host level resources in a query of the domain root; running server resources in a query of a host). If absent, false is the default.
  include-runtime | BOOLEAN | false | false | false | Whether to include runtime attributes (i.e. those whose value does not come from the persistent configuration) in the response. If absent, false is the default.
  include-defaults | BOOLEAN | false | false | true | Boolean to enable/disable default reading. In case it is set to false only attribute set by user are returned ignoring undefined.
  attributes-only | BOOLEAN | false | false | false | Whether or not to only read the attributes on the specified resource. Cannot be used in conjunction with 'recursive' or 'recursive-depth'.
  include-aliases | BOOLEAN | false | false | false | If 'true' and recursive, include children which are aliases.
  include-undefined-metric-values | BOOLEAN | false | false | false | Whether to include undefined metric values. If the underlying metric value can not be computed, this flag ensures that the value will remain undefined (without being replaced by a possible 'undefined metric value' from the attribute definition.

  ### Reply properties

  The resource's attribute values along with information about any child resources
  Type
    OBJECT

  Raw DMR model |
      {
          "operation-name" : "read-resource",
          "description" : "Reads a model resource's attribute values along with either basic or complete information about any child resources",
          "request-properties" : {
              "recursive" : {
                  "type" : {
                      "TYPE_MODEL_VALUE" : "BOOLEAN"
                  },
                  "description" : "Whether to include complete information about child resources, recursively. If absent, false is the default",
                  "expressions-allowed" : false,
                  "required" : false,
                  "nillable" : true,
                  "stability" : "default"
              },
              "recursive-depth" : {
                  "type" : {
                      "TYPE_MODEL_VALUE" : "INT"
                  },
                  "description" : "The depth to which information about child resources should be included.",
                  "expressions-allowed" : false,
                  "required" : false,
                  "nillable" : true,
                  "min" : 0,
                  "max" : 2147483647,
                  "stability" : "default"
              },
              "proxies" : {
                  "type" : {
                      "TYPE_MODEL_VALUE" : "BOOLEAN"
                  },
                  "description" : "Whether to include remote resources in a recursive query (i.e. host level resources in a query of the domain root; running server resources in a query of a host). If absent, false is the default.",
                  "expressions-allowed" : false,
                  "required" : false,
                  "nillable" : true,
                  "default" : false,
                  "stability" : "default"
              },
              "include-runtime" : {
                  "type" : {
                      "TYPE_MODEL_VALUE" : "BOOLEAN"
                  },
                  "description" : "Whether to include runtime attributes (i.e. those whose value does not come from the persistent configuration) in the response. If absent, false is the default.",
                  "expressions-allowed" : false,
                  "required" : false,
                  "nillable" : true,
                  "default" : false,
                  "stability" : "default"
              },
              "include-defaults" : {
                  "type" : {
                      "TYPE_MODEL_VALUE" : "BOOLEAN"
                  },
                  "description" : "Boolean to enable/disable default reading. In case it is set to false only attribute set by user are returned ignoring undefined.",
                  "expressions-allowed" : false,
                  "required" : false,
                  "nillable" : true,
                  "default" : true,
                  "stability" : "default"
              },
              "attributes-only" : {
                  "type" : {
                      "TYPE_MODEL_VALUE" : "BOOLEAN"
                  },
                  "description" : "Whether or not to only read the attributes on the specified resource. Cannot be used in conjunction with 'recursive' or 'recursive-depth'.",
                  "expressions-allowed" : false,
                  "required" : false,
                  "nillable" : true,
                  "default" : false,
                  "stability" : "default"
              },
              "include-aliases" : {
                  "type" : {
                      "TYPE_MODEL_VALUE" : "BOOLEAN"
                  },
                  "description" : "If 'true' and recursive, include children which are aliases.",
                  "expressions-allowed" : false,
                  "required" : false,
                  "nillable" : true,
                  "default" : false,
                  "stability" : "default"
              },
              "include-undefined-metric-values" : {
                  "type" : {
                      "TYPE_MODEL_VALUE" : "BOOLEAN"
                  },
                  "description" : "Whether to include undefined metric values. If the underlying metric value can not be computed, this flag ensures that the value will remain undefined (without being replaced by a possible 'undefined metric value' from the attribute definition.",
                  "expressions-allowed" : false,
                  "required" : false,
                  "nillable" : true,
                  "default" : false,
                  "stability" : "default"
              }
          },
          "reply-properties" : {
              "type" : {
                  "TYPE_MODEL_VALUE" : "OBJECT"
              },
              "description" : "The resource's attribute values along with information about any child resources"
          },
          "stability" : "default",
          "read-only" : true,
          "runtime-only" : false
      }

- reset-peak-thread-count - Resets the peak thread count to the current number of live threads.

  Raw DMR model |
      {
          "operation-name" : "reset-peak-thread-count",
          "description" : "Resets the peak thread count to the current number of live threads.",
          "request-properties" : {},
          "reply-properties" : {},
          "stability" : "default",
          "read-only" : false,
          "runtime-only" : true
      }