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

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

Issue 1350483005: Oilpan: Fix a performance regression in CSS.ClassInvalidation Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 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: Source/platform/heap/ThreadState.cpp
diff --git a/Source/platform/heap/ThreadState.cpp b/Source/platform/heap/ThreadState.cpp
index 8d2eb9f6f6f2495de33ea25adf3dc679516bd960..98b05b029e71104926deaec26a83b7df72ff826e 100644
--- a/Source/platform/heap/ThreadState.cpp
+++ b/Source/platform/heap/ThreadState.cpp
@@ -631,7 +631,7 @@ bool ThreadState::shouldForceMemoryPressureGC()
// If we're consuming too much memory, trigger a conservative GC
// aggressively. This is a safe guard to avoid OOM.
- return judgeGCThreshold(0, 1.5);
+ return judgeGCThreshold(1024 * 1024, 1.5);
haraken 2015/09/20 13:36:41 Note: This change will be harmless, so I'd like to
sof 2015/09/21 05:59:28 This is a good find; how about changing judgeGCThr
}
bool ThreadState::shouldScheduleIdleGC()
« 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