http://codereview.chromium.org/6014004/diff/1/src/heap.cc File src/heap.cc (right):
http://codereview.chromium.org/6014004/diff/1/src/heap.cc#newcode4965 src/heap.cc:4965: class UnreachableObjectsFilter : public HeapObjectsFilter { On 2010/12/21 09:04:44, Søren Gjesse wrote:
Regarding the marking of unreachable objects - can't you just re-use
the GC-code
for marking of all live objects and then skip the un-marked ones
insteadm? The problem is: once an object is marked, it doesn't appear as a valid heap object (you need to get its map_word, unmark it, etc.) That's why I mark those objects that are to be skipped by the iterator. http://codereview.chromium.org/6014004/ -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
