Bug 170016

Summary: Let the UI process do memory kills and replace crashes with diagnostic logging.
Product: WebKit Reporter: Andreas Kling <kling>
Component: Web Template FrameworkAssignee: Andreas Kling <kling>
Status: RESOLVED FIXED    
Severity: Normal CC: buildbot, cdumez, commit-queue, kling
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch
cdumez: review+, cdumez: commit-queue-
Patch for landing none

Andreas Kling
Reported 2017-03-23 12:08:41 PDT
Attachments
Patch (10.91 KB, patch)
2017-03-23 12:14 PDT, Andreas Kling
no flags
Patch (10.06 KB, patch)
2017-03-23 12:17 PDT, Andreas Kling
cdumez: review+
cdumez: commit-queue-
Patch for landing (10.92 KB, patch)
2017-03-23 14:36 PDT, Andreas Kling
no flags
Andreas Kling
Comment 1 2017-03-23 12:14:06 PDT
Build Bot
Comment 2 2017-03-23 12:16:40 PDT
Attachment 305211 [details] did not pass style-queue: ERROR: Source/WebCore/page/PerformanceMonitor.cpp:51: Should have a space between // and comment [whitespace/comments] [4] Total errors found: 1 in 9 files If any of these errors are false positives, please file a bug against check-webkit-style.
Andreas Kling
Comment 3 2017-03-23 12:17:19 PDT
Chris Dumez
Comment 4 2017-03-23 12:29:26 PDT
Comment on attachment 305212 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=305212&action=review r=me with comments. > Source/WebKit2/ChangeLog:13 > + Also add drive-by diagnostic logging for background CPU limit kills. thank you > Source/WebKit2/UIProcess/WebProcessProxy.cpp:1131 > +void WebProcessProxy::simulateProcessCrash(const String& reason) I think this should take in an enum rather than a logging key. Logging is internal logic and I don't like that call sites have to pass in a logging key. > Source/WebKit2/UIProcess/WebProcessProxy.h:169 > + void simulateProcessCrash(const String& reason); Could be private.
Andreas Kling
Comment 5 2017-03-23 14:36:12 PDT
Created attachment 305227 [details] Patch for landing
WebKit Commit Bot
Comment 6 2017-03-23 14:38:32 PDT
Comment on attachment 305227 [details] Patch for landing Rejecting attachment 305227 [details] from commit-queue. Failed to run "['/Volumes/Data/EWS/WebKit/Tools/Scripts/webkit-patch', '--status-host=webkit-queues.webkit.org', '--bot-id=webkit-cq-02', 'validate-changelog', '--check-oops', '--non-interactive', 305227, '--port=mac']" exit_code: 1 cwd: /Volumes/Data/EWS/WebKit ChangeLog entry in Source/WebCore/ChangeLog contains OOPS!. Full output: http://webkit-queues.webkit.org/results/3397585
WebKit Commit Bot
Comment 7 2017-03-23 15:21:35 PDT
Comment on attachment 305227 [details] Patch for landing Clearing flags on attachment: 305227 Committed r214320: <http://trac.webkit.org/changeset/214320>
WebKit Commit Bot
Comment 8 2017-03-23 15:21:40 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.