[webkit-changes] [WebKit/WebKit] fe549c: Cherry-pick 3e3affb5f89d. rdar://problem/106376732

Miguel Salinas noreply at github.com
Wed Mar 8 12:12:32 PST 2023


  Branch: refs/heads/safari-7616.1.6-branch
  Home:   https://github.com/WebKit/WebKit
  Commit: fe549c04ef2e8595d67ba0194b6b7e05fc44131d
      https://github.com/WebKit/WebKit/commit/fe549c04ef2e8595d67ba0194b6b7e05fc44131d
  Author: Miguel Salinas <miguel_salinas at apple.com>
  Date:   2023-03-08 (Wed, 08 Mar 2023)

  Changed paths:
    M Source/WebKit/WebProcess/WebProcess.cpp

  Log Message:
  -----------
  Cherry-pick 3e3affb5f89d. rdar://problem/106376732

    [macOS] Use cleanup timer when suspending web content process
    https://bugs.webkit.org/show_bug.cgi?id=253527
    rdar://problem/106376732

    Reviewed by Chris Dumez.

    We should use the m_nonVisibleProcessMemoryCleanupTimer to cleanup unnecessary memory on suspension instead of immediately cleaning up. This fixes a plt regression for warm runs where we make heavy use of the WebProcess cache. We should also consider doing this on iOS.

    * Source/WebKit/WebProcess/WebProcess.cpp:
    (WebKit::WebProcess::prepareToSuspend):

    Canonical link: https://commits.webkit.org/261354@main

Canonical link: https://commits.webkit.org/261247.11@safari-7616.1.6-branch




More information about the webkit-changes mailing list