Bug 173674 - Increase memory kill limits for WebContent processes that manage multiple tabs.
Summary: Increase memory kill limits for WebContent processes that manage multiple tabs.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Template Framework (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Andreas Kling
URL:
Keywords: InRadar, Performance
Depends on:
Blocks:
 
Reported: 2017-06-21 16:00 PDT by Andreas Kling
Modified: 2017-06-27 01:00 PDT (History)
6 users (show)

See Also:


Attachments
Patch (5.47 KB, patch)
2017-06-21 17:20 PDT, Andreas Kling
ggaren: review+
Details | Formatted Diff | Diff
Patch for landing (6.41 KB, patch)
2017-06-21 17:34 PDT, Andreas Kling
commit-queue: commit-queue-
Details | Formatted Diff | Diff
Patch for landing (5.48 KB, patch)
2017-06-21 17:41 PDT, Andreas Kling
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Kling 2017-06-21 16:00:00 PDT
Since <a target=_blank> open in the same WebContent process, we should be nice and give them a little extra margin on their memory kill limits.
Comment 1 Andreas Kling 2017-06-21 17:20:12 PDT
Created attachment 313570 [details]
Patch
Comment 2 Geoffrey Garen 2017-06-21 17:22:58 PDT
Comment on attachment 313570 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=313570&action=review

r=me

> Source/WTF/ChangeLog:3
> +        Increase memory kill limits for WebContent process that manage multiple tabs.

processes
Comment 3 Andreas Kling 2017-06-21 17:34:38 PDT
Created attachment 313572 [details]
Patch for landing
Comment 4 WebKit Commit Bot 2017-06-21 17:36:25 PDT
Comment on attachment 313572 [details]
Patch for landing

Rejecting attachment 313572 [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', 'apply-attachment', '--no-update', '--non-interactive', 313572, '--port=mac']" exit_code: 2 cwd: /Volumes/Data/EWS/WebKit

Last 500 characters of output:
unk #1 succeeded at 1 with fuzz 3.
patching file Source/WebCore/page/Page.cpp
Hunk #1 succeeded at 287 (offset 1 line).
Hunk #2 succeeded at 316 (offset 1 line).
patching file Source/WebCore/platform/graphics/cocoa/FontCacheCoreText.cpp
Hunk #1 FAILED at 1293.
1 out of 1 hunk FAILED -- saving rejects to file Source/WebCore/platform/graphics/cocoa/FontCacheCoreText.cpp.rej

Failed to run "[u'/Volumes/Data/EWS/WebKit/Tools/Scripts/svn-apply', '--force']" exit_code: 1 cwd: /Volumes/Data/EWS/WebKit

Full output: http://webkit-queues.webkit.org/results/3974756
Comment 5 Andreas Kling 2017-06-21 17:41:55 PDT
Created attachment 313574 [details]
Patch for landing

:|
Comment 6 WebKit Commit Bot 2017-06-21 18:09:29 PDT
Comment on attachment 313574 [details]
Patch for landing

Clearing flags on attachment: 313574

Committed r218669: <http://trac.webkit.org/changeset/218669>
Comment 7 WebKit Commit Bot 2017-06-21 18:09:31 PDT
All reviewed patches have been landed.  Closing bug.
Comment 8 mitz 2017-06-22 08:34:33 PDT
Would have been better to use the term “page” or even “view” rather than “tab” in this context (and similar contexts in WebKit). The macOS Mail app, for example, uses one web process for multiple web views in a single conversation view (and across multiple conversation views), which do not appear as separate tabs or even windows.
Comment 9 Andreas Kling 2017-06-22 10:37:16 PDT
(In reply to mitz from comment #8)
> Would have been better to use the term “page” or even “view” rather than
> “tab” in this context (and similar contexts in WebKit). The macOS Mail app,
> for example, uses one web process for multiple web views in a single
> conversation view (and across multiple conversation views), which do not
> appear as separate tabs or even windows.

Sure, that's a fair point. Let's go with Page then, since that's the name of the object we're counting. Long term I'd like us to come up with a better name for Page :|
Comment 10 Andreas Kling 2017-06-27 01:00:53 PDT
<rdar://problem/32567548>