Index: Source/platform/heap/ThreadState.h |
diff --git a/Source/platform/heap/ThreadState.h b/Source/platform/heap/ThreadState.h |
index c098f13abb01baaeb028f556f20bbfca355640a8..8c44b0ce73de2e979c4dcf1b978ca43318b769af 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. |
+ bool shouldSchedulePreciseGCOnNavigation(float estimatedRemovalRatio); |
void scheduleGCIfNeeded(); |
void setGCState(GCState); |
GCState gcState() const; |