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

Unified Diff: Source/platform/heap/Heap.h

Issue 1046123002: Oilpan: Split completeSweep() in idle tasks into chunks (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 9 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/Heap.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/heap/Heap.h
diff --git a/Source/platform/heap/Heap.h b/Source/platform/heap/Heap.h
index d9678ad0118b160615abd8f019db082ec8216d73..239d5eb7b912aeedad06e4aa8307ed0300f77aaa 100644
--- a/Source/platform/heap/Heap.h
+++ b/Source/platform/heap/Heap.h
@@ -743,6 +743,10 @@ public:
void prepareHeapForTermination();
void prepareForSweep();
Address lazySweep(size_t, size_t gcInfoIndex);
+ void sweepUnsweptPage();
+ // Returns true if we have swept all pages within the deadline.
+ // Returns false otherwise.
+ bool lazySweepWithDeadline(double deadlineSeconds);
void completeSweep();
ThreadState* threadState() { return m_threadState; }
« no previous file with comments | « no previous file | Source/platform/heap/Heap.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698