Chromium Code Reviews| Index: Source/platform/heap/ThreadState.h |
| diff --git a/Source/platform/heap/ThreadState.h b/Source/platform/heap/ThreadState.h |
| index 7c4b7a4c474887f99aed495e2f1f1f47320651ad..3677c22a9aeaa7be2bd1025f7943dc3969ec17ad 100644 |
| --- a/Source/platform/heap/ThreadState.h |
| +++ b/Source/platform/heap/ThreadState.h |
| @@ -329,6 +329,10 @@ public: |
| void scheduleIdleGC(); |
| void scheduleIdleLazySweep(); |
| void schedulePreciseGC(); |
| + bool shouldSchedulePreciseGC(); |
|
haraken
2015/07/23 23:19:30
Remove this.
|
| + // 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; |