Title: [244452] releases/WebKitGTK/webkit-2.24/Source/WTF
- Revision
- 244452
- Author
- [email protected]
- Date
- 2019-04-19 09:39:58 -0700 (Fri, 19 Apr 2019)
Log Message
Merged r244108 - [WPE] Avoid async IO starving timers
https://bugs.webkit.org/show_bug.cgi?id=196733
Reviewed by Carlos Garcia Campos.
If AsyncIONetwork and DiskCacheRead priorities are higher than
MainThreadSharedTimer the timers get starved. This causes the NetworkProcess
to accumulate MB of data instead of handing it down to the WebProcess (done
using a Timer). This eventually causes an Out Of Memory kill on the
NetworkProcess on some embedded platforms with low memory limits.
This patch levels the three priorities to the same value, while still leaving
DiskCacheWrite with less priority than DiskCacheRead.
* wtf/glib/RunLoopSourcePriority.h: Changed RunLoopSourcePriority values for WPE.
Modified Paths
Diff
Modified: releases/WebKitGTK/webkit-2.24/Source/WTF/ChangeLog (244451 => 244452)
--- releases/WebKitGTK/webkit-2.24/Source/WTF/ChangeLog 2019-04-19 15:41:08 UTC (rev 244451)
+++ releases/WebKitGTK/webkit-2.24/Source/WTF/ChangeLog 2019-04-19 16:39:58 UTC (rev 244452)
@@ -1,3 +1,21 @@
+2019-04-10 Enrique Ocaña González <[email protected]>
+
+ [WPE] Avoid async IO starving timers
+ https://bugs.webkit.org/show_bug.cgi?id=196733
+
+ Reviewed by Carlos Garcia Campos.
+
+ If AsyncIONetwork and DiskCacheRead priorities are higher than
+ MainThreadSharedTimer the timers get starved. This causes the NetworkProcess
+ to accumulate MB of data instead of handing it down to the WebProcess (done
+ using a Timer). This eventually causes an Out Of Memory kill on the
+ NetworkProcess on some embedded platforms with low memory limits.
+
+ This patch levels the three priorities to the same value, while still leaving
+ DiskCacheWrite with less priority than DiskCacheRead.
+
+ * wtf/glib/RunLoopSourcePriority.h: Changed RunLoopSourcePriority values for WPE.
+
2019-03-28 Saam Barati <[email protected]>
BackwardsGraph needs to consider back edges as the backward's root successor
Modified: releases/WebKitGTK/webkit-2.24/Source/WTF/wtf/glib/RunLoopSourcePriority.h (244451 => 244452)
--- releases/WebKitGTK/webkit-2.24/Source/WTF/wtf/glib/RunLoopSourcePriority.h 2019-04-19 15:41:08 UTC (rev 244451)
+++ releases/WebKitGTK/webkit-2.24/Source/WTF/wtf/glib/RunLoopSourcePriority.h 2019-04-19 16:39:58 UTC (rev 244452)
@@ -102,9 +102,9 @@
ReleaseUnusedResourcesTimer = -70,
- AsyncIONetwork = -70,
- DiskCacheRead = -70,
- DiskCacheWrite = -60
+ AsyncIONetwork = -60,
+ DiskCacheRead = -60,
+ DiskCacheWrite = -50
};
#endif
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes