Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1137)

Unified Diff: Source/heap/Heap.cpp

Issue 100433005: [oilpan] Rename PauseScope to SafePointScope (Closed) Base URL: svn://svn.chromium.org/blink/branches/oilpan
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();
}

Powered by Google App Engine
This is Rietveld 408576698