Title: [143091] trunk/Source/WebKit2
- Revision
- 143091
- Author
- [email protected]
- Date
- 2013-02-15 19:06:11 -0800 (Fri, 15 Feb 2013)
Log Message
Disable sudden termination on Mac
https://bugs.webkit.org/show_bug.cgi?id=109990
Patch by Kiran Muppala <[email protected]> on 2013-02-15
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].
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (143090 => 143091)
--- trunk/Source/WebKit2/ChangeLog 2013-02-16 03:03:50 UTC (rev 143090)
+++ trunk/Source/WebKit2/ChangeLog 2013-02-16 03:06:11 UTC (rev 143091)
@@ -1,3 +1,18 @@
+2013-02-15 Kiran Muppala <[email protected]>
+
+ 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-15 Eric Carlson <[email protected]>
[Mac] remove wkCaptionAppearance from WebKitSystemInterface
Modified: trunk/Source/WebKit2/Shared/mac/ChildProcessMac.mm (143090 => 143091)
--- trunk/Source/WebKit2/Shared/mac/ChildProcessMac.mm 2013-02-16 03:03:50 UTC (rev 143090)
+++ trunk/Source/WebKit2/Shared/mac/ChildProcessMac.mm 2013-02-16 03:06:11 UTC (rev 143091)
@@ -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
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes