Title: [143253] tags/Safari-537.31.3/Source/WebKit2
Revision
143253
Author
lforsch...@apple.com
Date
2013-02-18 12:22:42 -0800 (Mon, 18 Feb 2013)

Log Message

Merged r143091.  <rdar://problem/13212621>

Modified Paths

Diff

Modified: tags/Safari-537.31.3/Source/WebKit2/ChangeLog (143252 => 143253)


--- tags/Safari-537.31.3/Source/WebKit2/ChangeLog	2013-02-18 20:19:57 UTC (rev 143252)
+++ tags/Safari-537.31.3/Source/WebKit2/ChangeLog	2013-02-18 20:22:42 UTC (rev 143253)
@@ -1,5 +1,24 @@
 2013-02-18  Lucas Forschler  <lforsch...@apple.com>
 
+        Merge r143091
+
+    2013-02-15  Kiran Muppala  <cmupp...@apple.com>
+
+            Disable sudden termination on Mac
+            https://bugs.webkit.org/show_bug.cgi?id=109990
+
+            Reviewed by Mark Rowe.
+
+            Sudden Termination is causing WebContent XPC services to be killed in
+            response to memory pressure.  Hence, disable it until we can identify
+            if it is being enabled in error or not.
+
+            * Shared/mac/ChildProcessMac.mm:
+            (WebKit::ChildProcess::platformInitialize): Add call to
+            [NSProcessInfo disableSuddenTermination].
+
+2013-02-18  Lucas Forschler  <lforsch...@apple.com>
+
         Merge r142836
 
     2013-02-13  Dean Jackson  <d...@apple.com>

Modified: tags/Safari-537.31.3/Source/WebKit2/Shared/mac/ChildProcessMac.mm (143252 => 143253)


--- tags/Safari-537.31.3/Source/WebKit2/Shared/mac/ChildProcessMac.mm	2013-02-18 20:19:57 UTC (rev 143252)
+++ tags/Safari-537.31.3/Source/WebKit2/Shared/mac/ChildProcessMac.mm	2013-02-18 20:22:42 UTC (rev 143253)
@@ -79,6 +79,10 @@
     // Starting with process suppression disabled.  The proxy for this process will enable if appropriate from didFinishLaunching().
     setProcessSuppressionEnabled(false);
 
+    // <rdar://problem/13229217> Sudden Termination is causing WebContent XPC services to be killed in response to memory pressure
+    // Hence, disable it until we can identify if it is being enabled in error or not.
+    [[NSProcessInfo processInfo] disableSuddenTermination];
+
     [[NSFileManager defaultManager] changeCurrentDirectoryPath:[[NSBundle mainBundle] bundlePath]];
 }
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to