[jvm]
sealed class GcRoot
A GcRoot as identified by HprofRecord.HeapDumpRecord.GcRootRecord in the heap dump.
Name | Summary |
---|---|
Debugger | [jvm] class Debugger(id: Long) : GcRoot An object held by a connected debugger |
Finalizing | [jvm] class Finalizing(id: Long) : GcRoot An object that is in a queue, waiting for a finalizer to run. |
InternedString | [jvm] class InternedString(id: Long) : GcRoot An interned string, see java.lang.String.intern. |
JavaFrame | [jvm] class JavaFrame(id: Long, threadSerialNumber: Int, frameNumber: Int) : GcRoot A java local variable |
JniGlobal | [jvm] class JniGlobal(id: Long, jniGlobalRefId: Long) : GcRoot A global variable in native code. |
JniLocal | [jvm] class JniLocal(id: Long, threadSerialNumber: Int, frameNumber: Int) : GcRoot A local variable in native code. |
JniMonitor | [jvm] class JniMonitor(id: Long, stackTraceSerialNumber: Int, stackDepth: Int) : GcRoot It's unclear what this is, documentation welcome. |
MonitorUsed | [jvm] class MonitorUsed(id: Long) : GcRoot Everything that called the wait() or notify() methods, or that is synchronized. |
NativeStack | [jvm] class NativeStack(id: Long, threadSerialNumber: Int) : GcRoot Input or output parameters in native code |
ReferenceCleanup | [jvm] class ReferenceCleanup(id: Long) : GcRoot It's unclear what this is, documentation welcome. |
StickyClass | [jvm] class StickyClass(id: Long) : GcRoot A system class |
ThreadBlock | [jvm] class ThreadBlock(id: Long, threadSerialNumber: Int) : GcRoot |
ThreadObject | [jvm] class ThreadObject(id: Long, threadSerialNumber: Int, stackTraceSerialNumber: Int) : GcRoot A thread. |
Unknown | [jvm] class Unknown(id: Long) : GcRoot An unknown gc root. |
Unreachable | [jvm] class Unreachable(id: Long) : GcRoot An object that is unreachable from any other root, but not a root itself. |
VmInternal | [jvm] class VmInternal(id: Long) : GcRoot It's unclear what this is, documentation welcome. |
Name | Summary |
---|---|
id | [jvm] abstract val id: Long The object id of the object that this gc root references. |
Name |
---|
Unknown |
JniGlobal |
JniLocal |
JavaFrame |
NativeStack |
StickyClass |
ThreadBlock |
MonitorUsed |
ThreadObject |
ReferenceCleanup |
VmInternal |
JniMonitor |
InternedString |
Finalizing |
Debugger |
Unreachable |