[webkit-changes] [WebKit/WebKit] e3e5b7: Do not create blob temp folder for ephemeral sessions

youennf noreply at github.com
Tue Jun 13 11:23:14 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e3e5b70c243a9f274e584c14f45f3704327f2b9d
      https://github.com/WebKit/WebKit/commit/e3e5b70c243a9f274e584c14f45f3704327f2b9d
  Author: Youenn Fablet <youennf at gmail.com>
  Date:   2023-06-13 (Tue, 13 Jun 2023)

  Changed paths:
    M Source/WebKit/NetworkProcess/cocoa/NetworkSessionCocoa.mm

  Log Message:
  -----------
  Do not create blob temp folder for ephemeral sessions
https://bugs.webkit.org/show_bug.cgi?id=257950
rdar://110545873

Reviewed by Sihui Liu.

We are creating a temp folder for blobs to use mapped memory to store blobs, as a way to limit networking process jetsams.
This creation was not dependent on session being ephemeral or not.
We are now skipping the creation of this temp folder for ephemeral sessions.
This will trigger use of regular memory for storing blobs, which may increase networking process jetsams.

* Source/WebKit/NetworkProcess/cocoa/NetworkSessionCocoa.mm:
(WebKit::NetworkSessionCocoa::NetworkSessionCocoa):

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




More information about the webkit-changes mailing list