GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [v26.x] deps: V8: cherry-pick 497c2e6a2434 by inoway46 · Pull Request #66728 · nodejs/node

Conversation

@inoway46

@inoway46 inoway46 commented Oct 14, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Backport the upstream V8 fix for indefinitely retained maps and increment v8_embedder_string.

This affects real-world Jest workloads, where retained contexts substantially increase memory usage, making the fix worth including in Current.

Upstream fix: https://chromium-review.googlesource.com/c/v8/v8/+/8557820

The v26.11.0 reproduction retained 1→8 contexts before the fix and 0 throughout with it applied: https://github.com/inoway46/node/actions/runs/38432566001

Refs: #66490


This targets v26.x-staging directly, following the discussion in #66710; main can pick up the fix through a V8 update.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@inoway46
deps: V8: cherry-pick 497c2e6a2434
9b5180c
Original commit message:

    [heap] Always decrement age in RetainMaps()

    When the prototype and constructor were already marked we did not
    age the map because of the assumption that this would only keep the
    transition tree alive. However, this does not hold because of
    the JSFunctions inside an AccessorPair in DescriptorArray.

    This can result in retaining maps indefinitely when not triggering
    memory reducing GCs. This CL therefore simplifies the code to
    always age maps instead. This is neutral on Speedometer and Jetstream.

    Bug: 571157135
    Change-Id: I8fb633a0ec0c1d66e4596390ca48e1c7006c9cc2
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/8557820
    Commit-Queue: Dominik Inführ <[email protected]>
    Reviewed-by: Michael Lippautz <[email protected]>
    Cr-Commit-Position: refs/heads/main@{#110622}

Fixes: nodejs#66490
Refs: v8/v8@497c2e6
Assisted-by: Codex
Signed-off-by: inoway46 <[email protected]>
@nodejs-github-bot

nodejs-github-bot commented Oct 14, 2026

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/gyp
  • @nodejs/security-wg
  • @nodejs/v8-update
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@nodejs-github-bot nodejs-github-bot added build Issues and PRs related to Node.js builds or CI infrastructure. needs-ci PRs that need a full CI run. v26.x Issues that can be reproduced on v26.x or PRs targeting the v26.x-staging branch. v8 engine Issues and PRs related to the V8 dependency. labels Oct 14, 2026
@inoway46
inoway46 marked this pull request as ready for review October 14, 2026 13:53
@inoway46
inoway46 marked this pull request as draft October 15, 2026 07:52
@inoway46
inoway46 marked this pull request as ready for review October 15, 2026 07:52
@codecov

codecov Bot commented Oct 15, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.91%. Comparing base (ca26282) to head (9b5180c).
⚠️ Report is 1255 commits behind head on v26.x-staging.

Additional details and impacted files
@@                Coverage Diff                @@
##           v26.x-staging   #66728      +/-   ##
=================================================
+ Coverage          90.24%   92.91%   +2.67%     
=================================================
  Files                729      421     -308     
  Lines             242760   194894   -47866     
  Branches           46044    30363   -15681     
=================================================
- Hits              219073   181091   -37982     
+ Misses             15133    13476    -1657     
+ Partials            8554      327    -8227     

see 633 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@aduh95
aduh95 force-pushed the v26.x-staging branch from c2060d3 to e7c0957 Compare November 13, 2026 08:03
@aduh95 aduh95 mentioned this pull request Nov 13, 2026
[v26.x] V8 backports #67452
Merged
@legendecas

legendecas commented Nov 13, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

This is released in V8 15.8 so please wait #67070 landing on main first, per backport requirement.

7rulnik and inoway46 reacted with thumbs up emoji
All reactions
  • 👍 2 reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

aduh95 pushed a commit that referenced this pull request Nov 16, 2026
Dominik Inführ @aduh95
deps: V8: cherry-pick 497c2e6a2434
a478763
Original commit message:

    [heap] Always decrement age in RetainMaps()

    When the prototype and constructor were already marked we did not
    age the map because of the assumption that this would only keep the
    transition tree alive. However, this does not hold because of
    the JSFunctions inside an AccessorPair in DescriptorArray.

    This can result in retaining maps indefinitely when not triggering
    memory reducing GCs. This CL therefore simplifies the code to
    always age maps instead. This is neutral on Speedometer and Jetstream.

    Bug: 571157135
    Change-Id: I8fb633a0ec0c1d66e4596390ca48e1c7006c9cc2
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/8557820
    Commit-Queue: Dominik Inführ <[email protected]>
    Reviewed-by: Michael Lippautz <[email protected]>
    Cr-Commit-Position: refs/heads/main@{#110622}

Refs: v8/v8@497c2e6
PR-URL: #66728
Reviewed-by: Antoine du Hamel <[email protected]>
@github-actions github-actions Bot mentioned this pull request Nov 16, 2026
2026-11-16, Version 27.0.0-alpha.0.1.1 (Alpha) #67515
Merged
aduh95 pushed a commit that referenced this pull request Nov 17, 2026
Dominik Inführ @aduh95
deps: V8: cherry-pick 497c2e6a2434
5baf2e0
Original commit message:

    [heap] Always decrement age in RetainMaps()

    When the prototype and constructor were already marked we did not
    age the map because of the assumption that this would only keep the
    transition tree alive. However, this does not hold because of
    the JSFunctions inside an AccessorPair in DescriptorArray.

    This can result in retaining maps indefinitely when not triggering
    memory reducing GCs. This CL therefore simplifies the code to
    always age maps instead. This is neutral on Speedometer and Jetstream.

    Bug: 571157135
    Change-Id: I8fb633a0ec0c1d66e4596390ca48e1c7006c9cc2
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/8557820
    Commit-Queue: Dominik Inführ <[email protected]>
    Reviewed-by: Michael Lippautz <[email protected]>
    Cr-Commit-Position: refs/heads/main@{#110622}

Refs: v8/v8@497c2e6
PR-URL: #66728
Reviewed-by: Antoine du Hamel <[email protected]>
@aduh95

aduh95 commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

Landed in 5baf2e0

inoway46 reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@aduh95 aduh95 closed this Nov 17, 2026
@github-actions github-actions Bot mentioned this pull request Nov 20, 2026
2026-11-30, Version 26.14.0 'Lithium' (LTS) #67664
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

build Issues and PRs related to Node.js builds or CI infrastructure. needs-ci PRs that need a full CI run. v8 engine Issues and PRs related to the V8 dependency. v26.x Issues that can be reproduced on v26.x or PRs targeting the v26.x-staging branch.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@inoway46 @nodejs-github-bot @legendecas @aduh95
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.