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