Skip to content
🤔 Documentation issue? Report it

//leakcanary-repo/shark/ObjectDominators

ObjectDominators

[jvm]\ class ObjectDominators

Exposes high level APIs to compute and render a dominator tree. This class needs to be public to be used by other LeakCanary modules but is internal and its API might change at any moment.

Note that the exposed APIs are not optimized for speed, memory or IO.

Eventually this capability should become part of the Shark public APIs, please open an issue if you’d like to use this directly.

Constructors

ObjectDominators [jvm]
constructor()

Types

Name Summary
DominatorNode [jvm]
data class DominatorNode(val shallowSize: Int, val retainedSize: Int, val retainedCount: Int, val dominatedObjectIds: List<Long>) : Serializable
OfflineDominatorNode [jvm]
data class OfflineDominatorNode(val node: ObjectDominators.DominatorNode, val name: String) : Serializable

Functions