Chromium Code Reviews| Index: Source/platform/heap/ThreadState.cpp |
| diff --git a/Source/platform/heap/ThreadState.cpp b/Source/platform/heap/ThreadState.cpp |
| index f7bee8ce16c2d34cb1f0cb8b76b983f3f05619c8..a530ce15902079e94776c600234cad563ecf1b9c 100644 |
| --- a/Source/platform/heap/ThreadState.cpp |
| +++ b/Source/platform/heap/ThreadState.cpp |
| @@ -670,7 +670,7 @@ bool ThreadState::shouldSchedulePageNavigationGC(float estimatedRemovalRatio) |
| bool ThreadState::shouldForceConservativeGC() |
| { |
| // TODO(haraken): 400% is too large. Lower the heap growing factor. |
| - return judgeGCThreshold(32 * 1024 * 1024, 5.0); |
| + return judgeGCThreshold(32 * 1024 * 1024, 1.2); |
|
sof
2015/09/02 13:02:12
Change doesn't belong here (and not something you
|
| } |
| void ThreadState::scheduleV8FollowupGCIfNeeded() |
| @@ -926,6 +926,8 @@ ThreadState::GCState ThreadState::gcState() const |
| void ThreadState::runScheduledGC(StackState stackState) |
| { |
| + Heap::reportMemoryUsageForTracing(); |
|
sof
2015/09/02 13:02:12
Unrelated also?
|
| + |
| ASSERT(checkThread()); |
| if (stackState != NoHeapPointersOnStack) |
| return; |