Index: src/heap-profiler.cc |
diff --git a/src/heap-profiler.cc b/src/heap-profiler.cc |
index 6ae62723a7081eed316344cbe64042660296ef45..f733e1b03501b46a13e4aba3c966a0b322b8b0e6 100644 |
--- a/src/heap-profiler.cc |
+++ b/src/heap-profiler.cc |
@@ -212,4 +212,10 @@ Handle<HeapObject> HeapProfiler::FindHeapObjectById(SnapshotObjectId id) { |
} |
+void HeapProfiler::ClearHeapObjectMap() { |
+ ids_.Reset(new HeapObjectsMap(heap())); |
+ if (!is_tracking_allocations()) is_tracking_object_moves_ = false; |
+} |
+ |
+ |
} } // namespace v8::internal |