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

Unified Diff: src/heap/heap.cc

Issue 1773273002: Add flag to trace object groups (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Incorporated more Ulan's wonderful suggestions Created 4 years, 9 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/global-handles.cc ('k') | src/heap/incremental-marking.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap/heap.cc
diff --git a/src/heap/heap.cc b/src/heap/heap.cc
index ad83dfb8c7e02843df2b4851d5e14e5131e1bd2d..2501f0e118b850216ddad336eb0b50118d40b0f6 100644
--- a/src/heap/heap.cc
+++ b/src/heap/heap.cc
@@ -1401,6 +1401,10 @@ void Heap::CallGCPrologueCallbacks(GCType gc_type, GCCallbackFlags flags) {
}
}
}
+ if (FLAG_trace_object_groups && (gc_type == kGCTypeIncrementalMarking ||
+ gc_type == kGCTypeMarkSweepCompact)) {
+ isolate_->global_handles()->PrintObjectGroups();
+ }
}
« no previous file with comments | « src/global-handles.cc ('k') | src/heap/incremental-marking.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698