Skip to content

deps: V8: cherry-pick 6c1b7a313b81 - #65117

Open
ulofiai wants to merge 1 commit into
nodejs:mainfrom
ulofiai:fix/issue-64841
Open

deps: V8: cherry-pick 6c1b7a313b81#65117
ulofiai wants to merge 1 commit into
nodejs:mainfrom
ulofiai:fix/issue-64841

Conversation

@ulofiai

@ulofiai ulofiai commented Aug 7, 2026

Copy link
Copy Markdown

Fixes #64841.

Cherry-pick V8 commit 6c1b7a313b81180037c06ed4fbb45fa5f180d694.

PersistentHandles can be removed by a thread without a LocalHeap while GC iterates PersistentHandlesList. A safepoint alone therefore does not protect the linked list. Hold the existing persistent_handles_mutex_ during Iterate(), matching the upstream V8 fix.

Refs: https://chromium-review.googlesource.com/c/v8/v8/+/7865180

Signed-off-by: ulofiai <monsterking@tutamail.com>
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/security-wg
  • @nodejs/v8-update

@nodejs-github-bot nodejs-github-bot added needs-ci PRs that need a full CI run. v8 engine Issues and PRs related to the V8 dependency. labels Aug 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-ci PRs that need a full CI run. v8 engine Issues and PRs related to the V8 dependency.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Intermittent SIGSEGV in Maglev concurrent compilation on Linux (PersistentHandles::GetHandle) — regression between v24.14.1 and v24.15.0

2 participants