Index: test/cctest/test-object-observe.cc |
diff --git a/test/cctest/test-object-observe.cc b/test/cctest/test-object-observe.cc |
index 37dde078fe97762bb0d720da3522d1f3194de330..4b6f216c60a2ae8bfe7f9a68419bf623ac23781a 100644 |
--- a/test/cctest/test-object-observe.cc |
+++ b/test/cctest/test-object-observe.cc |
@@ -683,7 +683,8 @@ static void CheckSurvivingGlobalObjectsCount(int expected) { |
// been marked at that point. Therefore some of the maps are not |
// collected until the second garbage collection. |
CcTest::heap()->CollectAllGarbage(); |
- CcTest::heap()->CollectAllGarbage(i::Heap::kMakeHeapIterableMask); |
+ CcTest::heap()->CollectAllGarbage("CheckSurvivingGlobalObjectsCount", |
+ i::Heap::kMakeHeapIterableMask); |
int count = GetGlobalObjectsCount(); |
#ifdef DEBUG |
if (count != expected) CcTest::heap()->TracePathToGlobal(); |