In order to avoid problems with the incremental marker you could ensure that a
GC is completed immediately before doing the replacement.  See the code in
HeapSnapshotsCollection::FindHeapObjectById for an example.

LGTM

https://chromiumcodereview.appspot.com/10332101/

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to