Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(452)

Unified Diff: third_party/WebKit/Source/platform/heap/ThreadState.cpp

Issue 1698703002: Disable page navigation GC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Temporarily disable PageNavigationGC Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 3d9554d46eca970a534c7103998220e3881ca990..133b70583dc6d819c753835262ac6ce5e27ba82b 100644
--- a/third_party/WebKit/Source/platform/heap/ThreadState.cpp
+++ b/third_party/WebKit/Source/platform/heap/ThreadState.cpp
@@ -564,7 +564,8 @@ bool ThreadState::shouldScheduleV8FollowupGC()
bool ThreadState::shouldSchedulePageNavigationGC(float estimatedRemovalRatio)
{
- return judgeGCThreshold(1024 * 1024, 1.5 * (1 - estimatedRemovalRatio));
+ // TODO(keishi): Temporarily disabled to observe impact.
sof 2016/02/18 18:33:37 Could you create a bug for tracking this issue, an
keishi 2016/02/19 03:26:02 Done.
+ return false;
}
bool ThreadState::shouldForceConservativeGC()
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698