Title: [215077] trunk/Source/WebCore
- Revision
- 215077
- Author
- akl...@apple.com
- Date
- 2017-04-06 17:39:24 -0700 (Thu, 06 Apr 2017)
Log Message
Inaudible background tabs should become eligible for memory kill after 8 minutes
https://bugs.webkit.org/show_bug.cgi?id=170574
<rdar://problem/31488686>
Reviewed by Gavin Barraclough.
Lower the delay for potentially marking background tabs as inactive from 60 minutes to 8 minutes.
Letting a tab misbehave in the background for an entire hour was overly charitable.
* page/PerformanceMonitor.cpp:
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (215076 => 215077)
--- trunk/Source/WebCore/ChangeLog 2017-04-07 00:39:22 UTC (rev 215076)
+++ trunk/Source/WebCore/ChangeLog 2017-04-07 00:39:24 UTC (rev 215077)
@@ -1,3 +1,16 @@
+2017-04-06 Andreas Kling <akl...@apple.com>
+
+ Inaudible background tabs should become eligible for memory kill after 8 minutes
+ https://bugs.webkit.org/show_bug.cgi?id=170574
+ <rdar://problem/31488686>
+
+ Reviewed by Gavin Barraclough.
+
+ Lower the delay for potentially marking background tabs as inactive from 60 minutes to 8 minutes.
+ Letting a tab misbehave in the background for an entire hour was overly charitable.
+
+ * page/PerformanceMonitor.cpp:
+
2017-04-06 Wenson Hsieh <wenson_hs...@apple.com>
Scroll offset jumps after a programmatic scroll in an overflow container with scroll snapping
Modified: trunk/Source/WebCore/page/PerformanceMonitor.cpp (215076 => 215077)
--- trunk/Source/WebCore/page/PerformanceMonitor.cpp 2017-04-07 00:39:22 UTC (rev 215076)
+++ trunk/Source/WebCore/page/PerformanceMonitor.cpp 2017-04-07 00:39:24 UTC (rev 215077)
@@ -48,7 +48,7 @@
static const std::chrono::seconds memoryUsageMeasurementDelay { 10 };
-static const std::chrono::minutes delayBeforeProcessMayBecomeInactive { 60 };
+static const std::chrono::minutes delayBeforeProcessMayBecomeInactive { 8 };
static const double postPageLoadCPUUsageDomainReportingThreshold { 20.0 }; // Reporting pages using over 20% CPU is roughly equivalent to reporting the 10% worst pages.
#if !PLATFORM(IOS)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes