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

Unified Diff: Source/platform/heap/ThreadState.cpp

Issue 1153533002: Oilpan: complete current sweep before preparing for new GC. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 7 months 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
« no previous file with comments | « Source/platform/heap/Heap.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/heap/ThreadState.cpp
diff --git a/Source/platform/heap/ThreadState.cpp b/Source/platform/heap/ThreadState.cpp
index c47c92bac6ba45ffcd42d4f139cde1877a0bc354..16ec9a806dbf3f4c8b9e73358da7c8524db41f2c 100644
--- a/Source/platform/heap/ThreadState.cpp
+++ b/Source/platform/heap/ThreadState.cpp
@@ -738,7 +738,6 @@ void ThreadState::setGCState(GCState gcState)
case StoppingOtherThreads:
checkThread();
VERIFY_STATE_TRANSITION(m_gcState == NoGCScheduled || m_gcState == IdleGCScheduled || m_gcState == PreciseGCScheduled || m_gcState == FullGCScheduled || m_gcState == Sweeping || m_gcState == SweepingAndIdleGCScheduled || m_gcState == SweepingAndPreciseGCScheduled);
haraken 2015/05/21 23:01:35 I think you can now remove a couple of states from
sof 2015/05/22 05:07:05 Maybe, not so sure -- sweeping might be forbidden
haraken 2015/05/22 05:13:05 Since you're calling completeSweep() before settin
- completeSweep();
break;
case GCRunning:
ASSERT(!isInGC());
« no previous file with comments | « Source/platform/heap/Heap.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698