DescriptionAttempt no. 3 to fix Heap::IsHeapIterable and HeapIterator.
Now we remember new space's top pointer after the last GC to find out if there was a new space allocation since the last GC.
Unfortunately, this not completely safe - the debugger has a callback hook (that can call to JS) at the end of the GC epilogue that can in theory allocate and possibly make the heap non-iterable. We can only hope this does not happen.
BUG=373283
R=hpayer@chromium.org
LOG=N
Committed: https://code.google.com/p/v8/source/detail?r=21431
Patch Set 1 #Patch Set 2 : Remember the new space top in GC epilogue #Patch Set 3 : Remove EnsureHeapIterable and DisallocAllocation calls from LiveEdit::FindActiveGenerators #
Total comments: 1
Messages
Total messages: 6 (0 generated)
|