Index: Source/heap/Heap.cpp |
diff --git a/Source/heap/Heap.cpp b/Source/heap/Heap.cpp |
index 8442b8b60e4db4d0b52bc182ac2483b3b3b28d24..4cd7e9d2664df13bc1db164a462487fd75531bcd 100644 |
--- a/Source/heap/Heap.cpp |
+++ b/Source/heap/Heap.cpp |
@@ -1431,7 +1431,7 @@ public: |
// FIXME(oilpan): in an unlikely coincidence two threads might decide to collect |
// garbage at the same time. Avoid doing two GCs in a row. |
ASSERT(!m_state->isInGC()); |
- ASSERT(!m_state->isPaused()); |
+ ASSERT(!m_state->isInSafePoint()); |
ThreadState::stopThreads(stackState); |
m_state->enterGC(); |
} |