[CodeCache] Assign high priority for PersistentCache fetch thread [chromium/src : main]

0 views
Skip to first unread message

Takashi Nakayama (Gerrit)

unread,
Jun 9, 2026, 11:18:37 PM (2 days ago) Jun 9
to Greg Thompson, Kouhei Ueno, Chromium LUCI CQ, chromium...@chromium.org, Nate Chapin, blink-...@chromium.org, gavinp...@chromium.org, kinuko...@chromium.org, loading-re...@chromium.org, loading...@chromium.org

Takashi Nakayama added 3 comments

Commit Message
Line 9, Patchset 2:Blink now spawns an utility process for managing code cache when using
Greg Thompson . resolved

nit: "a"

Takashi Nakayama

Done

Line 9, Patchset 2:Blink now spawns an utility process for managing code cache when using
Greg Thompson . resolved

is this true? is it not just bouncing to another thread that it will use to talk to the browser process?

Takashi Nakayama

That's right. Thanks for pointing it out, I rewrote this sentence a bit (process -> thread, and "managing" -> "communicate").

File third_party/blink/renderer/platform/loader/fetch/persistent_code_cache_host.cc
Line 41, Patchset 2:base::TaskTraits GetTaskTraitsForCodeCacheProcess() {
Greg Thompson . resolved

nit: blank line after namespace open

Takashi Nakayama

Done

Open in Gerrit

Related details

Attention set is empty
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Owners
  • requirement satisfiedCode-Review
  • requirement satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: If39b1743dd5bde5b098fbc832ff19c6794d06271
Gerrit-Change-Number: 7911603
Gerrit-PatchSet: 4
Gerrit-Owner: Takashi Nakayama <tn...@chromium.org>
Gerrit-Reviewer: Greg Thompson <g...@chromium.org>
Gerrit-Reviewer: Kouhei Ueno <kou...@chromium.org>
Gerrit-Reviewer: Takashi Nakayama <tn...@chromium.org>
Gerrit-CC: Nate Chapin <jap...@chromium.org>
Gerrit-Comment-Date: Wed, 10 Jun 2026 03:18:00 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Greg Thompson <g...@chromium.org>
satisfied_requirement
open
diffy

Takashi Nakayama (Gerrit)

unread,
Jun 10, 2026, 3:18:57 AM (yesterday) Jun 10
to Greg Thompson, Kouhei Ueno, Chromium LUCI CQ, chromium...@chromium.org, Nate Chapin, blink-...@chromium.org, gavinp...@chromium.org, kinuko...@chromium.org, loading-re...@chromium.org, loading...@chromium.org

Takashi Nakayama voted Commit-Queue+2

Commit-Queue+2
Open in Gerrit

Related details

Attention set is empty
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Owners
  • requirement satisfiedCode-Review
  • requirement satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: If39b1743dd5bde5b098fbc832ff19c6794d06271
Gerrit-Change-Number: 7911603
Gerrit-PatchSet: 4
Gerrit-Owner: Takashi Nakayama <tn...@chromium.org>
Gerrit-Reviewer: Greg Thompson <g...@chromium.org>
Gerrit-Reviewer: Kouhei Ueno <kou...@chromium.org>
Gerrit-Reviewer: Takashi Nakayama <tn...@chromium.org>
Gerrit-CC: Nate Chapin <jap...@chromium.org>
Gerrit-Comment-Date: Wed, 10 Jun 2026 07:18:21 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Chromium LUCI CQ (Gerrit)

unread,
Jun 10, 2026, 3:41:29 AM (yesterday) Jun 10
to Takashi Nakayama, Greg Thompson, Kouhei Ueno, chromium...@chromium.org, Nate Chapin, blink-...@chromium.org, gavinp...@chromium.org, kinuko...@chromium.org, loading-re...@chromium.org, loading...@chromium.org

Chromium LUCI CQ submitted the change with unreviewed changes

Unreviewed changes

2 is the latest approved patch-set.
The change was submitted with unreviewed changes in the following files:

```
The name of the file: third_party/blink/renderer/platform/loader/fetch/persistent_code_cache_host.cc
Insertions: 1, Deletions: 0.

The diff is too large to show. Please review the diff.
```

Change information

Commit message:
[CodeCache] Assign high priority for PersistentCache fetch thread

Blink now spawns a utility thread to communicate to the browser process
when using PersistentCache for code cache, thus InlineScriptCache fetch
operations, which is conducted during the HTML parser by blocking the
main thread, is stalled while the utility process is not scheduled.
Assigning the highest priority for the utility thread will speed up
cache fetch.
Bug: 488755561
Change-Id: If39b1743dd5bde5b098fbc832ff19c6794d06271
Reviewed-by: Greg Thompson <g...@chromium.org>
Commit-Queue: Takashi Nakayama <tn...@chromium.org>
Reviewed-by: Kouhei Ueno <kou...@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1644491}
Files:
  • M third_party/blink/renderer/platform/loader/fetch/persistent_code_cache_host.cc
Change size: S
Delta: 1 file changed, 21 insertions(+), 1 deletion(-)
Branch: refs/heads/main
Submit Requirements:
  • requirement satisfiedCode-Review: +1 by Greg Thompson, +1 by Kouhei Ueno
Open in Gerrit
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: merged
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: If39b1743dd5bde5b098fbc832ff19c6794d06271
Gerrit-Change-Number: 7911603
Gerrit-PatchSet: 5
Gerrit-Owner: Takashi Nakayama <tn...@chromium.org>
Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
Gerrit-Reviewer: Greg Thompson <g...@chromium.org>
Gerrit-Reviewer: Kouhei Ueno <kou...@chromium.org>
Gerrit-Reviewer: Takashi Nakayama <tn...@chromium.org>
open
diffy
satisfied_requirement
Reply all
Reply to author
Forward
0 new messages