//leakcanary-repo/shark/OpenJdkInstanceRefReaders
OpenJdkInstanceRefReaders¶
[jvm]\ enum OpenJdkInstanceRefReaders : Enum<OpenJdkInstanceRefReaders> , ChainingInstanceReferenceReader.VirtualInstanceReferenceReader.OptionalFactory
Defines VirtualInstanceReferenceReader factories for common OpenJDK data structures.
Note: the expanders target the direct classes and don’t target subclasses, as these might include additional out going references that would be missed.
Entries¶
LINKED_LIST | [jvm] LINKED_LIST |
ARRAY_LIST | [jvm] ARRAY_LIST |
COPY_ON_WRITE_ARRAY_LIST | [jvm] COPY_ON_WRITE_ARRAY_LIST |
HASH_MAP | [jvm] HASH_MAP Handles HashMap & LinkedHashMap |
CONCURRENT_HASH_MAP | [jvm] CONCURRENT_HASH_MAP |
WEAK_HASH_MAP | [jvm] WEAK_HASH_MAP |
HASH_SET | [jvm] HASH_SET Handles HashSet & LinkedHashSet |
Functions¶
Name | Summary |
---|---|
create | [jvm] abstract fun create(graph: HeapGraph): ChainingInstanceReferenceReader.VirtualInstanceReferenceReader? |
valueOf | [jvm] fun valueOf(value: String): OpenJdkInstanceRefReaders 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<OpenJdkInstanceRefReaders> 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 |