//leakcanary/leakcanary/ObjectWatcher/retainedObjectCount
retainedObjectCount¶
@get:Synchronized
val retainedObjectCount: Int
Returns the number of retained objects, ie the number of watched objects that aren’t weakly reachable, and have been watched for long enough to be considered retained.