Index: src/log.cc |
diff --git a/src/log.cc b/src/log.cc |
index a3557bfb19e954b9c93ebc7f259137f59c95e78b..24ad19be91cafbbb08d5d4720ce2611c71751f50 100644 |
--- a/src/log.cc |
+++ b/src/log.cc |
@@ -1567,8 +1567,6 @@ void Logger::LogCodeObject(Object* object) { |
void Logger::LogCodeObjects() { |
Heap* heap = isolate_->heap(); |
- heap->CollectAllGarbage(Heap::kMakeHeapIterableMask, |
- "Logger::LogCodeObjects"); |
HeapIterator iterator(heap); |
DisallowHeapAllocation no_gc; |
for (HeapObject* obj = iterator.next(); obj != NULL; obj = iterator.next()) { |
@@ -1650,8 +1648,6 @@ void Logger::LogExistingFunction(Handle<SharedFunctionInfo> shared, |
void Logger::LogCompiledFunctions() { |
Heap* heap = isolate_->heap(); |
- heap->CollectAllGarbage(Heap::kMakeHeapIterableMask, |
- "Logger::LogCompiledFunctions"); |
HandleScope scope(isolate_); |
const int compiled_funcs_count = EnumerateCompiledFunctions(heap, NULL, NULL); |
ScopedVector< Handle<SharedFunctionInfo> > sfis(compiled_funcs_count); |
@@ -1670,8 +1666,6 @@ void Logger::LogCompiledFunctions() { |
void Logger::LogAccessorCallbacks() { |
Heap* heap = isolate_->heap(); |
- heap->CollectAllGarbage(Heap::kMakeHeapIterableMask, |
- "Logger::LogAccessorCallbacks"); |
HeapIterator iterator(heap); |
DisallowHeapAllocation no_gc; |
for (HeapObject* obj = iterator.next(); obj != NULL; obj = iterator.next()) { |