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
FieldsModifier and TypeFieldDescriptionstatic final intEverything you have called wait() or notify() on or you have synchronized onstatic final intAn object which is a queue awaiting its finalizer to be runstatic final intLocal variable, i.e.static final intA Java stack frame containing references to Java localsstatic final intLocal variable in native codestatic final intIn 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 intGlobal variable in native codestatic final intClass loaded by system class loader, e.g.static final intStarted but not stopped threadsstatic final intRunning or blocked Java threadsstatic final intAn object which has a finalize method, but has not been finalized and is not yet on the finalizer queuestatic final intGC root of unknown type, or a type not matching any of the other declared typesstatic final intAn 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:
-