| Index: third_party/WebKit/Source/platform/heap/ThreadState.cpp
|
| diff --git a/third_party/WebKit/Source/platform/heap/ThreadState.cpp b/third_party/WebKit/Source/platform/heap/ThreadState.cpp
|
| index 8446223a5880b38e074f72b38ad995b6393ba25a..ed8af4f6221d1c86f974fce6bcbb2a0aae61be89 100644
|
| --- a/third_party/WebKit/Source/platform/heap/ThreadState.cpp
|
| +++ b/third_party/WebKit/Source/platform/heap/ThreadState.cpp
|
| @@ -613,7 +613,7 @@ void ThreadState::scheduleV8FollowupGCIfNeeded(BlinkGC::V8GCType gcType)
|
| schedulePreciseGC();
|
| return;
|
| }
|
| - if (gcType == BlinkGC::V8MajorGC) {
|
| + if (gcType == BlinkGC::V8MajorGC && shouldScheduleIdleGC()) {
|
| #if PRINT_HEAP_STATS
|
| dataLogF("Scheduled IdleGC\n");
|
| #endif
|
|
|