Index: src/heap-snapshot-generator.cc |
diff --git a/src/heap-snapshot-generator.cc b/src/heap-snapshot-generator.cc |
index bbb46a1892ff3456756569f68b04d647d7742bc4..3d890f720ec5aeb19d7620d7a3b7859dc27b098f 100644 |
--- a/src/heap-snapshot-generator.cc |
+++ b/src/heap-snapshot-generator.cc |
@@ -1936,7 +1936,8 @@ void NativeObjectsExplorer::FillRetainedObjects() { |
Isolate* isolate = Isolate::Current(); |
const GCType major_gc_type = kGCTypeMarkSweepCompact; |
// Record objects that are joined into ObjectGroups. |
- isolate->heap()->CallGCPrologueCallbacks(major_gc_type); |
+ isolate->heap()->CallGCPrologueCallbacks( |
+ major_gc_type, kGCCallbackFlagConstructRetainedObjectInfos); |
List<ObjectGroup*>* groups = isolate->global_handles()->object_groups(); |
for (int i = 0; i < groups->length(); ++i) { |
ObjectGroup* group = groups->at(i); |