Skip to content
🤔 Documentation issue? Report it

//leakcanary-repo/shark/AndroidReferenceReaders

AndroidReferenceReaders

[jvm]\ enum AndroidReferenceReaders : Enum<AndroidReferenceReaders> , ChainingInstanceReferenceReader.VirtualInstanceReferenceReader.OptionalFactory

Entries

ACTIVITY_THREAD__NEW_ACTIVITIES [jvm]
ACTIVITY_THREAD__NEW_ACTIVITIES
ActivityThread.mNewActivity is a linked list of ActivityClientRecord that keeps track of activities after they were resumed, until the main thread is idle. This is used to report analytics to system_server about how long it took for the main thread to settle after resuming an activity. Unfortunately, if the main thread never becomes idle, all these new activities leak in memory.
MESSAGE_QUEUE [jvm]
MESSAGE_QUEUE
ANIMATOR_WEAK_REF_SUCKS [jvm]
ANIMATOR_WEAK_REF_SUCKS
SAFE_ITERABLE_MAP [jvm]
SAFE_ITERABLE_MAP
ARRAY_SET [jvm]
ARRAY_SET

Types

Name Summary
Companion [jvm]
object Companion

Functions

Name Summary
create [jvm]
abstract fun create(graph: HeapGraph): ChainingInstanceReferenceReader.VirtualInstanceReferenceReader?
valueOf [jvm]
fun valueOf(value: String): AndroidReferenceReaders
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
values [jvm]
fun values(): Array<AndroidReferenceReaders>
Returns an array containing the constants of this enum type, in the order they’re declared.

Properties

Name Summary
name [jvm]
val name: String
ordinal [jvm]
val ordinal: Int