[wasmfx] Fix allocation during stack switch [v8/v8 : main]

0 views
Skip to first unread message

Thibaud Michaud (Gerrit)

unread,
Dec 9, 2025, 7:57:56 AM12/9/25
to Clemens Backes, v8-re...@googlegroups.com, was...@google.com
Attention needed from Clemens Backes

Thibaud Michaud voted and added 1 comment

Votes added by Thibaud Michaud

Commit-Queue+1

1 comment

Patchset-level comments
File-level comment, Patchset 1 (Latest):
Thibaud Michaud . resolved

PTAL

Open in Gerrit

Related details

Attention is currently required from:
  • Clemens Backes
Submit Requirements:
  • requirement satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: v8/v8
Gerrit-Branch: main
Gerrit-Change-Id: Ic97320d1c70d196b78f85e2aa1806a2dade8dd2c
Gerrit-Change-Number: 7241572
Gerrit-PatchSet: 1
Gerrit-Owner: Thibaud Michaud <thib...@chromium.org>
Gerrit-Reviewer: Clemens Backes <clem...@chromium.org>
Gerrit-Reviewer: Thibaud Michaud <thib...@chromium.org>
Gerrit-Attention: Clemens Backes <clem...@chromium.org>
Gerrit-Comment-Date: Tue, 09 Dec 2025 12:57:50 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Clemens Backes (Gerrit)

unread,
Dec 9, 2025, 8:22:52 AM12/9/25
to Thibaud Michaud, V8 LUCI CQ, v8-re...@googlegroups.com, was...@google.com
Attention needed from Thibaud Michaud

Clemens Backes voted Code-Review+1

Code-Review+1
Open in Gerrit

Related details

Attention is currently required from:
  • Thibaud Michaud
Submit Requirements:
  • 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: v8/v8
Gerrit-Branch: main
Gerrit-Change-Id: Ic97320d1c70d196b78f85e2aa1806a2dade8dd2c
Gerrit-Change-Number: 7241572
Gerrit-PatchSet: 1
Gerrit-Owner: Thibaud Michaud <thib...@chromium.org>
Gerrit-Reviewer: Clemens Backes <clem...@chromium.org>
Gerrit-Reviewer: Thibaud Michaud <thib...@chromium.org>
Gerrit-Attention: Thibaud Michaud <thib...@chromium.org>
Gerrit-Comment-Date: Tue, 09 Dec 2025 13:22:47 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Thibaud Michaud (Gerrit)

unread,
Dec 9, 2025, 8:25:36 AM12/9/25
to Clemens Backes, V8 LUCI CQ, v8-re...@googlegroups.com, was...@google.com

Thibaud Michaud voted Commit-Queue+2

Commit-Queue+2
Open in Gerrit

Related details

Attention set is empty
Submit Requirements:
  • 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: v8/v8
Gerrit-Branch: main
Gerrit-Change-Id: Ic97320d1c70d196b78f85e2aa1806a2dade8dd2c
Gerrit-Change-Number: 7241572
Gerrit-PatchSet: 1
Gerrit-Owner: Thibaud Michaud <thib...@chromium.org>
Gerrit-Reviewer: Clemens Backes <clem...@chromium.org>
Gerrit-Reviewer: Thibaud Michaud <thib...@chromium.org>
Gerrit-Comment-Date: Tue, 09 Dec 2025 13:25:30 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

V8 LUCI CQ (Gerrit)

unread,
Dec 9, 2025, 8:35:20 AM12/9/25
to Thibaud Michaud, Clemens Backes, v8-re...@googlegroups.com, was...@google.com

V8 LUCI CQ submitted the change

Change information

Commit message:
[wasmfx] Fix allocation during stack switch

Tagged values in the stack-allocated argument buffer are not tracked by
the GC, so there must not be any GC until the buffer is unpacked by the
target stack.
In the suspend instruction, the new continuation object was mistakenly
allocated after initializing the argument buffer which could cause a GC.
Move it up.

R=clem...@chromium.org
Fixed: 466948626
Change-Id: Ic97320d1c70d196b78f85e2aa1806a2dade8dd2c
Commit-Queue: Thibaud Michaud <thib...@chromium.org>
Reviewed-by: Clemens Backes <clem...@chromium.org>
Cr-Commit-Position: refs/heads/main@{#104198}
Files:
  • M src/wasm/turboshaft-graph-interface.cc
  • M test/mjsunit/mjsunit.status
Change size: S
Delta: 2 files changed, 6 insertions(+), 10 deletions(-)
Branch: refs/heads/main
Submit Requirements:
  • requirement satisfiedCode-Review: +1 by Clemens Backes
Open in Gerrit
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: merged
Gerrit-Project: v8/v8
Gerrit-Branch: main
Gerrit-Change-Id: Ic97320d1c70d196b78f85e2aa1806a2dade8dd2c
Gerrit-Change-Number: 7241572
Gerrit-PatchSet: 2
Gerrit-Owner: Thibaud Michaud <thib...@chromium.org>
Gerrit-Reviewer: Clemens Backes <clem...@chromium.org>
Gerrit-Reviewer: Thibaud Michaud <thib...@chromium.org>
open
diffy
satisfied_requirement
Reply all
Reply to author
Forward
0 new messages