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

Unified Diff: Source/platform/heap/Heap.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 | « no previous file | Source/platform/heap/ThreadState.cpp » ('j') | Source/platform/heap/ThreadState.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/heap/Heap.cpp
diff --git a/Source/platform/heap/Heap.cpp b/Source/platform/heap/Heap.cpp
index c938b3a3ffe05e998fc64b37b3048150329650cc..0403cebef1f17755bb0011494a50c6b882de354b 100644
--- a/Source/platform/heap/Heap.cpp
+++ b/Source/platform/heap/Heap.cpp
@@ -1878,6 +1878,7 @@ void Heap::collectGarbage(ThreadState::StackState stackState, ThreadState::GCTyp
{
ThreadState* state = ThreadState::current();
RELEASE_ASSERT(!state->isInGC());
+ state->completeSweep();
ThreadState::GCState originalGCState = state->gcState();
state->setGCState(ThreadState::StoppingOtherThreads);
« no previous file with comments | « no previous file | Source/platform/heap/ThreadState.cpp » ('j') | Source/platform/heap/ThreadState.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698