Summary: | Make inactive web processes behave as though under memory pressure. | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Andreas Kling <kling> | ||||||
Component: | Web Template Framework | Assignee: | Andreas Kling <kling> | ||||||
Status: | REOPENED --- | ||||||||
Severity: | Normal | CC: | benjamin, buildbot, cdumez, cmarcelo, commit-queue, dbates, kling, ryanhaddad, webkit-bug-importer | ||||||
Priority: | P2 | Keywords: | InRadar, Performance | ||||||
Version: | WebKit Nightly Build | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Attachments: |
|
Description
Andreas Kling
2017-03-23 19:38:27 PDT
Created attachment 305259 [details]
Patch
Comment on attachment 305259 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=305259&action=review > Source/WTF/wtf/MemoryPressureHandler.cpp:196 > +bool MemoryPressureHandler::isUnderMemoryPressure() This should be renamed (to something like isInMemorySavingMode() perhaps) since we now have many ways for this to become true that have nothing to do with memory pressure. Comment on attachment 305259 [details] Patch Clearing flags on attachment: 305259 Committed r214351: <http://trac.webkit.org/changeset/214351> All reviewed patches have been landed. Closing bug. Reverted r214351 for reason: This change caused API test WebKit1.DidCreateJavaScriptContextBackForwardCacheTest to fail. Committed r214370: <http://trac.webkit.org/changeset/214370> *** Bug 170069 has been marked as a duplicate of this bug. *** Created attachment 306320 [details]
Patch for relanding
Comment on attachment 306320 [details] Patch for relanding Clearing flags on attachment: 306320 Committed r214974: <http://trac.webkit.org/changeset/214974> All reviewed patches have been landed. Closing bug. Reverted r214974 for reason: Causes some tabs to start using a huge amount of CPU after 8 minutes in the background Committed r217872: <http://trac.webkit.org/changeset/217872> |