Skip to content

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

Merged
MarshallOfSound merged 1 commit into
44-x-yfrom
trop/44-x-y-bp-build-don-t-build-the-crowdsourced-v8-compile-hints-producer-1786563583842
Aug 12, 2026
Merged

MarshallOfSound merged 1 commit into
44-x-yfrom
trop/44-x-y-bp-build-don-t-build-the-crowdsourced-v8-compile-hints-producer-1786563583842

Conversation

@trop

@trop trop Bot commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

Backport of #52791

See that PR for details.

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.

Co-authored-by: Sam Attard <[email protected]>
@trop
trop Bot requested a review from MarshallOfSound August 12, 2026 19:40
@trop trop Bot added 44-x-y backport This is a backport PR semver/none labels Aug 12, 2026
@MarshallOfSound
MarshallOfSound enabled auto-merge (squash) August 12, 2026 19:40
@MarshallOfSound
MarshallOfSound merged commit eab750c into 44-x-y Aug 12, 2026
90 checks passed
@MarshallOfSound
MarshallOfSound deleted the trop/44-x-y-bp-build-don-t-build-the-crowdsourced-v8-compile-hints-producer-1786563583842 branch August 12, 2026 21:05
@release-clerk

release-clerk Bot commented Aug 12, 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.

1 participant