DescriptionAdd methods for finding object by its snapshot id and id for an object
Object<-->id mapping doesn't depend on a particular snapshot, actually same object may appear in several heap snapshots. The API for converting between id and heap object should be provided by HeapProfiler itself. There is already GetObjectId method which I extended with FindObjectById/ClearObjectIds. As the next step I'm going to deprecate and remove HeapGraphNode::GetHeapValue.
BUG=chromium:324769
LOG=N
R=alph@chromium.org, hpayer@chromium.org, mstarzinger@chromium.org
Committed: https://code.google.com/p/v8/source/detail?r=18334
Patch Set 1 #
Total comments: 2
Patch Set 2 : Force GC in test #Patch Set 3 : Comments addressed #Patch Set 4 : Update #Patch Set 5 : One more time #
Messages
Total messages: 8 (0 generated)
|