| Index: Source/platform/heap/ThreadState.cpp
|
| diff --git a/Source/platform/heap/ThreadState.cpp b/Source/platform/heap/ThreadState.cpp
|
| index 0b06ceacab0bb033d7d863562c7c7acf73d172a3..8c3dc138d83a5a5bc5dc14939bf489792c125c18 100644
|
| --- a/Source/platform/heap/ThreadState.cpp
|
| +++ b/Source/platform/heap/ThreadState.cpp
|
| @@ -659,7 +659,7 @@ bool ThreadState::shouldSchedulePreciseGC()
|
|
|
| bool ThreadState::shouldSchedulePageNavigationGC(float estimatedRemovalRatio)
|
| {
|
| - return judgeGCThreshold(1024 * 1024, 1.5);
|
| + return judgeGCThreshold(1024 * 1024, 1.5 * (1 - estimatedRemovalRatio));
|
| }
|
|
|
| bool ThreadState::shouldForceConservativeGC()
|
|
|