Changeset 143091 in webkit


Ignore:
Timestamp:
Feb 15, 2013 7:06:11 PM (11 years ago)
Author:
commit-queue@webkit.org
Message:

Disable sudden termination on Mac
https://bugs.webkit.org/show_bug.cgi?id=109990

Patch by Kiran Muppala <cmuppala@apple.com> 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].

Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r143088 r143091  
     12013-02-15  Kiran Muppala  <cmuppala@apple.com>
     2
     3        Disable sudden termination on Mac
     4        https://bugs.webkit.org/show_bug.cgi?id=109990
     5
     6        Reviewed by Mark Rowe.
     7
     8        Sudden Termination is causing WebContent XPC services to be killed in
     9        response to memory pressure.  Hence, disable it until we can identify
     10        if it is being enabled in error or not.
     11
     12        * Shared/mac/ChildProcessMac.mm:
     13        (WebKit::ChildProcess::platformInitialize): Add call to
     14        [NSProcessInfo disableSuddenTermination].
     15
    1162013-02-15  Eric Carlson  <eric.carlson@apple.com>
    217
  • trunk/Source/WebKit2/Shared/mac/ChildProcessMac.mm

    r141167 r143091  
    8080    setProcessSuppressionEnabled(false);
    8181
     82    // <rdar://problem/13229217> Sudden Termination is causing WebContent XPC services to be killed in response to memory pressure
     83    // Hence, disable it until we can identify if it is being enabled in error or not.
     84    [[NSProcessInfo processInfo] disableSuddenTermination];
     85
    8286    [[NSFileManager defaultManager] changeCurrentDirectoryPath:[[NSBundle mainBundle] bundlePath]];
    8387}
Note: See TracChangeset for help on using the changeset viewer.