Heap Graph
Enables navigation through the heap graph of objects.
Functions
Returns the HeapObject corresponding to the provided objectId, and throws IllegalArgumentException otherwise.
Returns the HeapObject corresponding to the provided objectId or null if it cannot be found.
Returns the HeapObject corresponding to the provided objectIndex, and throws IllegalArgumentException if objectIndex is less than 0 or more than objectCount - 1.
Returns true if the provided objectId exists in the heap dump.
Properties
All GC roots which type matches types known to this heap graph and which point to non null references. You can retrieve the object that a GC Root points to by calling findObjectById with GcRoot.id, however you need to first check that objectExists returns true because GC roots can point to objects that don't exist in the heap dump.