Index: src/heap-profiler.cc |
diff --git a/src/heap-profiler.cc b/src/heap-profiler.cc |
index 6068bf43bdad6abe6159261550bbc49a6059936d..4b7443a121ff9fde2eca25e15a8b9a831e65dfdb 100644 |
--- a/src/heap-profiler.cc |
+++ b/src/heap-profiler.cc |
@@ -173,9 +173,6 @@ void HeapProfiler::SetRetainedObjectInfo(UniqueId id, |
Handle<HeapObject> HeapProfiler::FindHeapObjectById(SnapshotObjectId id) { |
- heap()->CollectAllGarbage(Heap::kMakeHeapIterableMask, |
- "HeapProfiler::FindHeapObjectById"); |
- DisallowHeapAllocation no_allocation; |
HeapObject* object = NULL; |
HeapIterator iterator(heap(), HeapIterator::kFilterUnreachable); |
// Make sure that object with the given id is still reachable. |