Index: Source/platform/heap/ThreadState.h |
diff --git a/Source/platform/heap/ThreadState.h b/Source/platform/heap/ThreadState.h |
index 0c015aeee37db03a46d4f7c03e250cddb3e39ba8..71d42d6dd5d4db20fae82ab79aa3fd66e5c63be6 100644 |
--- a/Source/platform/heap/ThreadState.h |
+++ b/Source/platform/heap/ThreadState.h |
@@ -329,6 +329,9 @@ public: |
void scheduleIdleGC(); |
void scheduleIdleLazySweep(); |
void schedulePreciseGC(); |
+ // estimatedRemovalRatio is the estimated ratio of objects that will be no |
+ // longer necessary due to the navigation. |
+ void schedulePageNavigationGCIfNeeded(float estimatedRemovalRatio); |
void scheduleGCIfNeeded(); |
void setGCState(GCState); |
GCState gcState() const; |