Package org.eclipse.mat.snapshot.model
Interface GCRootInfo.Type
- Enclosing class:
- GCRootInfo
public static interface GCRootInfo.Type
Reasons why an heap object is a garbage collection root.
- No Implement:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Everything you have called wait() or notify() on or you have synchronized onstatic final int
An object which is a queue awaiting its finalizer to be runstatic final int
Local variable, i.e.static final int
A Java stack frame containing references to Java localsstatic final int
Local variable in native codestatic final int
In or out parameters in native code; frequently seen as some methods have native parts and the objects handled as method parameters become GC roots, e.g.static final int
Global variable in native codestatic final int
Class loaded by system class loader, e.g.static final int
Started but not stopped threadsstatic final int
Running or blocked Java threadsstatic final int
An object which has a finalize method, but has not been finalized and is not yet on the finalizer queuestatic final int
GC root of unknown type, or a type not matching any of the other declared typesstatic final int
An object which is unreachable from any other root, but has been marked as a root by MAT to retain objects which otherwise would not be included in the analysis
-
Field Details
-
UNKNOWN
static final int UNKNOWNGC root of unknown type, or a type not matching any of the other declared types- See Also:
-
SYSTEM_CLASS
static final int SYSTEM_CLASSClass loaded by system class loader, e.g. java.lang.String- See Also:
-
NATIVE_LOCAL
static final int NATIVE_LOCALLocal variable in native code- See Also:
-
NATIVE_STATIC
static final int NATIVE_STATICGlobal variable in native code- See Also:
-
THREAD_BLOCK
static final int THREAD_BLOCKStarted but not stopped threads- See Also:
-
BUSY_MONITOR
static final int BUSY_MONITOREverything you have called wait() or notify() on or you have synchronized on- See Also:
-
JAVA_LOCAL
static final int JAVA_LOCALLocal variable, i.e. method input parameters or locally created objects of methods still on the stack of a thread- See Also:
-
NATIVE_STACK
static final int NATIVE_STACKIn or out parameters in native code; frequently seen as some methods have native parts and the objects handled as method parameters become GC roots, e.g. parameters used for file/network I/O methods or reflection- See Also:
-
THREAD_OBJ
static final int THREAD_OBJRunning or blocked Java threads- See Also:
-
FINALIZABLE
static final int FINALIZABLEAn object which is a queue awaiting its finalizer to be run- See Also:
-
UNFINALIZED
static final int UNFINALIZEDAn object which has a finalize method, but has not been finalized and is not yet on the finalizer queue- See Also:
-
UNREACHABLE
static final int UNREACHABLEAn object which is unreachable from any other root, but has been marked as a root by MAT to retain objects which otherwise would not be included in the analysis- Since:
- 1.0
- See Also:
-
JAVA_STACK_FRAME
static final int JAVA_STACK_FRAMEA Java stack frame containing references to Java locals- Since:
- 1.0
- See Also:
-