Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(720)

Unified Diff: src/runtime/runtime-debug.cc

Issue 1992913004: [heap] Do not invoke GC to make heap iterable. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/profiler/heap-snapshot-generator.cc ('k') | test/cctest/heap/test-heap.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/runtime/runtime-debug.cc
diff --git a/src/runtime/runtime-debug.cc b/src/runtime/runtime-debug.cc
index e3f3beb6976da53443707168c427ff0247e525ed..15e72e7598cc884e35585e413dd71d69ed24e7fa 100644
--- a/src/runtime/runtime-debug.cc
+++ b/src/runtime/runtime-debug.cc
@@ -1231,7 +1231,7 @@ RUNTIME_FUNCTION(Runtime_DebugReferencedBy) {
List<Handle<JSObject> > instances;
Heap* heap = isolate->heap();
{
- HeapIterator iterator(heap, HeapIterator::kFilterUnreachable);
+ HeapIterator iterator(heap, HeapObjectsFiltering::kFilterUnreachable);
// Get the constructor function for context extension and arguments array.
Object* arguments_fun = isolate->sloppy_arguments_map()->GetConstructor();
HeapObject* heap_obj;
@@ -1286,7 +1286,7 @@ RUNTIME_FUNCTION(Runtime_DebugConstructedBy) {
List<Handle<JSObject> > instances;
Heap* heap = isolate->heap();
{
- HeapIterator iterator(heap, HeapIterator::kFilterUnreachable);
+ HeapIterator iterator(heap, HeapObjectsFiltering::kFilterUnreachable);
HeapObject* heap_obj;
while ((heap_obj = iterator.next())) {
if (!heap_obj->IsJSObject()) continue;
« no previous file with comments | « src/profiler/heap-snapshot-generator.cc ('k') | test/cctest/heap/test-heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698