Package | Description |
---|---|
java.lang |
Provides classes that are fundamental to the design of the Java
programming language.
|
java.lang.management |
Provides the management interfaces for monitoring and management of the
Java virtual machine and other components in the Java runtime.
|
Modifier and Type | Method | Description |
---|---|---|
StackTraceElement[] |
Thread.getStackTrace() |
Returns an array of stack trace elements representing the stack dump
of this thread.
|
StackTraceElement[] |
Throwable.getStackTrace() |
Provides programmatic access to the stack trace information printed by
Throwable.printStackTrace() . |
StackTraceElement |
StackWalker.StackFrame.toStackTraceElement() |
Gets a
StackTraceElement for this stack frame. |
Modifier and Type | Method | Description |
---|---|---|
void |
Throwable.setStackTrace(StackTraceElement[] stackTrace) |
Sets the stack trace elements that will be returned by
Throwable.getStackTrace() and printed by Throwable.printStackTrace()
and related methods. |
Modifier and Type | Method | Description |
---|---|---|
StackTraceElement |
MonitorInfo.getLockedStackFrame() |
Returns the stack frame that locked the object monitor.
|
StackTraceElement[] |
ThreadInfo.getStackTrace() |
Returns the stack trace of the thread
associated with this
ThreadInfo . |
Constructor | Description |
---|---|
MonitorInfo(String className,
int identityHashCode,
int stackDepth,
StackTraceElement stackFrame) |
Construct a
MonitorInfo object. |
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-internal+0-adhoc.mlchung.jdk9-jdeps