//leakcanary-repo/shark/HeapObject/HeapInstance/objectIndex
objectIndex¶
[jvm]\ open override val objectIndex: Int
An positive object index that’s specific to how Shark stores objects in memory. The index starts at 0 and ends at HeapGraph.objectCount - 1. There are no gaps, every index value corresponds to an object. Classes are first, then instances, then object arrays then primitive arrays.