Skip to content
🤔 Documentation issue? Report it

//leakcanary/shark/LeakTrace/GcRootType

GcRootType

enum GcRootType : Enum<LeakTrace.GcRootType>

Entries

JNI_MONITOR JNI_MONITOR("Root JNI monitor")
THREAD_OBJECT THREAD_OBJECT("Thread object")
MONITOR_USED MONITOR_USED("Monitor (anything that called the wait() or notify() methods, or that is synchronized.)")
THREAD_BLOCK THREAD_BLOCK("Thread block")
STICKY_CLASS STICKY_CLASS("System class")
NATIVE_STACK NATIVE_STACK("Input or output parameters in native code")
JAVA_FRAME JAVA_FRAME("Java local variable")
JNI_LOCAL JNI_LOCAL("Local variable in native code")
JNI_GLOBAL JNI_GLOBAL("Global variable in native code")

Types

Name Summary
Companion object Companion

Properties

Name Summary
description val description: String
name val name: String
ordinal val ordinal: Int