Index: src/log.cc |
diff --git a/src/log.cc b/src/log.cc |
index 5e82872da1e2ea0fa48db0508d62cdafd57c04f5..39797190712456ceea38f25c9f4ef121f6687107 100644 |
--- a/src/log.cc |
+++ b/src/log.cc |
@@ -1521,7 +1521,8 @@ void Logger::LowLevelLogWriteBytes(const char* bytes, int size) { |
void Logger::LogCodeObjects() { |
- HEAP->CollectAllGarbage(Heap::kMakeHeapIterableMask); |
+ HEAP->CollectAllGarbage(Heap::kMakeHeapIterableMask, |
+ "Logger::LogCodeObjects"); |
HeapIterator iterator; |
AssertNoAllocation no_alloc; |
for (HeapObject* obj = iterator.next(); obj != NULL; obj = iterator.next()) { |
@@ -1576,7 +1577,8 @@ void Logger::LogExistingFunction(Handle<SharedFunctionInfo> shared, |
void Logger::LogCompiledFunctions() { |
- HEAP->CollectAllGarbage(Heap::kMakeHeapIterableMask); |
+ HEAP->CollectAllGarbage(Heap::kMakeHeapIterableMask, |
+ "Logger::LogCompiledFunctions"); |
HandleScope scope; |
const int compiled_funcs_count = EnumerateCompiledFunctions(NULL, NULL); |
ScopedVector< Handle<SharedFunctionInfo> > sfis(compiled_funcs_count); |
@@ -1595,7 +1597,8 @@ void Logger::LogCompiledFunctions() { |
void Logger::LogAccessorCallbacks() { |
- HEAP->CollectAllGarbage(Heap::kMakeHeapIterableMask); |
+ HEAP->CollectAllGarbage(Heap::kMakeHeapIterableMask, |
+ "Logger::LogAccessorCallbacks"); |
HeapIterator iterator; |
AssertNoAllocation no_alloc; |
for (HeapObject* obj = iterator.next(); obj != NULL; obj = iterator.next()) { |