Index: src/log.cc |
diff --git a/src/log.cc b/src/log.cc |
index 80f010c4a83dccbe77655d612eaff97d27bf51a3..0e932cfadd37c01416263e0e78dc90336641b270 100644 |
--- a/src/log.cc |
+++ b/src/log.cc |
@@ -1656,8 +1656,8 @@ |
void Logger::LogCodeObjects() { |
Heap* heap = isolate_->heap(); |
- heap->CollectAllGarbage("Logger::LogCodeObjects", |
- Heap::kMakeHeapIterableMask); |
+ heap->CollectAllGarbage(Heap::kMakeHeapIterableMask, |
+ "Logger::LogCodeObjects"); |
HeapIterator iterator(heap); |
DisallowHeapAllocation no_gc; |
for (HeapObject* obj = iterator.next(); obj != NULL; obj = iterator.next()) { |
@@ -1716,8 +1716,8 @@ |
void Logger::LogCompiledFunctions() { |
Heap* heap = isolate_->heap(); |
- heap->CollectAllGarbage("Logger::LogCompiledFunctions", |
- Heap::kMakeHeapIterableMask); |
+ 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); |
@@ -1736,8 +1736,8 @@ |
void Logger::LogAccessorCallbacks() { |
Heap* heap = isolate_->heap(); |
- heap->CollectAllGarbage("Logger::LogAccessorCallbacks", |
- Heap::kMakeHeapIterableMask); |
+ heap->CollectAllGarbage(Heap::kMakeHeapIterableMask, |
+ "Logger::LogAccessorCallbacks"); |
HeapIterator iterator(heap); |
DisallowHeapAllocation no_gc; |
for (HeapObject* obj = iterator.next(); obj != NULL; obj = iterator.next()) { |