Skip to content

build: don't build the crowdsourced V8 compile hints producer - #52943

Merged
MarshallOfSound merged 1 commit into
43-x-yfrom
manual-bp/43-x-y/52791
Aug 18, 2026
Merged

MarshallOfSound merged 1 commit into
43-x-yfrom
manual-bp/43-x-y/52791

Conversation

@VerteDinde

Copy link
Copy Markdown
Member

Backport of #52791

See that PR for details.

Manual backport notes: context-only conflict in build/args/all.gn (43-x-y lacks the later enable_resource_allowlist_generation block); the added produce_v8_compile_hints = false block is identical to main, and the arg exists in this branch's Blink (bindings.gni).

Notes: Fixed a 1-in-200 chance per renderer process on Windows of scripts on the first page load being compiled without their V8 code cache.

Blink's crowdsourced compile hints producer selects 0.5% of renderer
processes on Windows and compiles every http(s) script on their first
page from source, deliberately ignoring an existing V8 code cache and
skipping local compile hints, so it can record which functions were
compiled to UKM. The consuming side lives in chrome/browser and needs
OptimizationGuide, and there is no UKM backend here, so the data is
never used and the only effect is a cold-cache page load. Set
produce_v8_compile_hints = false so the stub producer (already used on
Android) is built instead.

(cherry picked from commit c6e46a4)
@MarshallOfSound
MarshallOfSound enabled auto-merge (squash) August 18, 2026 09:16
@MarshallOfSound
MarshallOfSound merged commit 4e20870 into 43-x-y Aug 18, 2026
112 checks passed
@MarshallOfSound
MarshallOfSound deleted the manual-bp/43-x-y/52791 branch August 18, 2026 21:27
@release-clerk

release-clerk Bot commented Aug 18, 2026

Copy link
Copy Markdown

Release Notes Persisted

Fixed a 1-in-200 chance per renderer process on Windows of scripts on the first page load being compiled without their V8 code cache.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

No open projects
Status: No status

Development

Successfully merging this pull request may close these issues.

3 participants