shark-graph / shark / HeapObject / HeapObjectArray / objectIndex

objectIndex

val objectIndex: Int

Overrides HeapObject.objectIndex

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.