Index: Source/platform/heap/Heap.cpp |
diff --git a/Source/platform/heap/Heap.cpp b/Source/platform/heap/Heap.cpp |
index 16c67093890111d27448cde922ab3d20f9a7e54f..a0c872890da9ab8b961edc74a7a5dbd4338ffa88 100644 |
--- a/Source/platform/heap/Heap.cpp |
+++ b/Source/platform/heap/Heap.cpp |
@@ -2207,7 +2207,7 @@ const char* Heap::gcReasonString(GCReason reason) |
STRINGIFY_REASON(IdleGC); |
STRINGIFY_REASON(PreciseGC); |
STRINGIFY_REASON(ConservativeGC); |
- STRINGIFY_REASON(ForcedGCForTesting); |
+ STRINGIFY_REASON(ForcedGC); |
#undef STRINGIFY_REASON |
case NumberOfGCReason: ASSERT_NOT_REACHED(); |
} |
@@ -2398,7 +2398,7 @@ void Heap::collectAllGarbage() |
// pointing to other heap allocated objects. |
size_t previousLiveObjects = 0; |
for (int i = 0; i < 5; ++i) { |
- collectGarbage(ThreadState::NoHeapPointersOnStack, ThreadState::GCWithSweep, ForcedGCForTesting); |
+ collectGarbage(ThreadState::NoHeapPointersOnStack, ThreadState::GCWithSweep, ForcedGC); |
size_t liveObjects = Heap::markedObjectSize(); |
if (liveObjects == previousLiveObjects) |
break; |