[Wasm interpreter] Fix handling of globals storage [v8/v8 : main]

0 views
Skip to first unread message

Paolo Severini (Gerrit)

unread,
Mar 10, 2026, 12:08:26 PMMar 10
to V8 LUCI CQ, v8-re...@googlegroups.com, was...@google.com
Attention needed from Paolo Severini

Message from Paolo Severini

Set Ready For Review

Open in Gerrit

Related details

Attention is currently required from:
  • Paolo Severini
Submit Requirements:
  • requirement is not 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: Ib87912d83f3a1af45bc713a3ef51fda56a173224
Gerrit-Change-Number: 7653296
Gerrit-PatchSet: 2
Gerrit-Owner: Paolo Severini <paol...@microsoft.com>
Gerrit-Reviewer: Paolo Severini <paol...@microsoft.com>
Gerrit-Attention: Paolo Severini <paol...@microsoft.com>
Gerrit-Comment-Date: Tue, 10 Mar 2026 16:08:23 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
unsatisfied_requirement
open
diffy

Jakob Kummerow (Gerrit)

unread,
Mar 11, 2026, 2:22:44 PMMar 11
to Paolo Severini, Jakob Kummerow, Gyuyoung Kim, Daniel Lehmann, V8 LUCI CQ, v8-re...@googlegroups.com, was...@google.com
Attention needed from Daniel Lehmann and Paolo Severini

Jakob Kummerow voted and added 2 comments

Votes added by Jakob Kummerow

Code-Review+1

2 comments

Patchset-level comments
File-level comment, Patchset 6 (Latest):
Jakob Kummerow . resolved

LGTM with a comment. (Didn't look at `src/wasm/interpreter/` as usual.)

File test/filecheck/filecheck.status
Line 6, Patchset 6 (Latest):['variant == jitless', {
Jakob Kummerow . unresolved

Please move this somewhere further down, so the `ALWAYS` block remains first. Perhaps around line 32, after the `variant in (jitless, ...` block?

Open in Gerrit

Related details

Attention is currently required from:
  • Daniel Lehmann
  • Paolo Severini
Submit Requirements:
  • requirement satisfiedCode-Owners
  • requirement satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
  • 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: Ib87912d83f3a1af45bc713a3ef51fda56a173224
Gerrit-Change-Number: 7653296
Gerrit-PatchSet: 6
Gerrit-Owner: Paolo Severini <paol...@microsoft.com>
Gerrit-Reviewer: Daniel Lehmann <dleh...@chromium.org>
Gerrit-Reviewer: Jakob Kummerow <jkum...@chromium.org>
Gerrit-Reviewer: Paolo Severini <paol...@microsoft.com>
Gerrit-CC: Gyuyoung Kim <gyuy...@igalia.com>
Gerrit-Attention: Daniel Lehmann <dleh...@chromium.org>
Gerrit-Attention: Paolo Severini <paol...@microsoft.com>
Gerrit-Comment-Date: Wed, 11 Mar 2026 18:22:38 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Paolo Severini (Gerrit)

unread,
Mar 12, 2026, 11:33:46 AMMar 12
to Jakob Kummerow, Gyuyoung Kim, Daniel Lehmann, V8 LUCI CQ, v8-re...@googlegroups.com, was...@google.com
Attention needed from Daniel Lehmann and Jakob Kummerow

Paolo Severini voted and added 1 comment

Votes added by Paolo Severini

Commit-Queue+1

1 comment

Patchset-level comments
File-level comment, Patchset 8 (Latest):
Paolo Severini . resolved

Hi Jakob, could you take another look? Many thanks!

Open in Gerrit

Related details

Attention is currently required from:
  • Daniel Lehmann
  • Jakob Kummerow
Submit Requirements:
  • requirement satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
  • 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: Ib87912d83f3a1af45bc713a3ef51fda56a173224
Gerrit-Change-Number: 7653296
Gerrit-PatchSet: 8
Gerrit-Owner: Paolo Severini <paol...@microsoft.com>
Gerrit-Reviewer: Daniel Lehmann <dleh...@chromium.org>
Gerrit-Reviewer: Jakob Kummerow <jkum...@chromium.org>
Gerrit-Reviewer: Paolo Severini <paol...@microsoft.com>
Gerrit-CC: Gyuyoung Kim <gyuy...@igalia.com>
Gerrit-Attention: Daniel Lehmann <dleh...@chromium.org>
Gerrit-Attention: Jakob Kummerow <jkum...@chromium.org>
Gerrit-Comment-Date: Thu, 12 Mar 2026 15:33:41 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Jakob Kummerow (Gerrit)

unread,
Mar 12, 2026, 12:22:41 PMMar 12
to Paolo Severini, Jakob Kummerow, Gyuyoung Kim, Daniel Lehmann, V8 LUCI CQ, v8-re...@googlegroups.com, was...@google.com
Attention needed from Daniel Lehmann and Paolo Severini

Jakob Kummerow voted Code-Review+1

Code-Review+1
Open in Gerrit

Related details

Attention is currently required from:
  • Daniel Lehmann
  • Paolo Severini
Submit Requirements:
  • requirement satisfiedCode-Owners
  • requirement satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
  • 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: Ib87912d83f3a1af45bc713a3ef51fda56a173224
Gerrit-Change-Number: 7653296
Gerrit-PatchSet: 8
Gerrit-Owner: Paolo Severini <paol...@microsoft.com>
Gerrit-Reviewer: Daniel Lehmann <dleh...@chromium.org>
Gerrit-Reviewer: Jakob Kummerow <jkum...@chromium.org>
Gerrit-Reviewer: Paolo Severini <paol...@microsoft.com>
Gerrit-CC: Gyuyoung Kim <gyuy...@igalia.com>
Gerrit-Attention: Daniel Lehmann <dleh...@chromium.org>
Gerrit-Attention: Paolo Severini <paol...@microsoft.com>
Gerrit-Comment-Date: Thu, 12 Mar 2026 16:22:36 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Jakob Kummerow (Gerrit)

unread,
Mar 12, 2026, 12:23:02 PMMar 12
to Paolo Severini, Jakob Kummerow, Gyuyoung Kim, Daniel Lehmann, V8 LUCI CQ, v8-re...@googlegroups.com, was...@google.com
Attention needed from Daniel Lehmann and Paolo Severini

Jakob Kummerow added 1 comment

File test/filecheck/filecheck.status
Line 6, Patchset 6:['variant == jitless', {
Jakob Kummerow . resolved

Please move this somewhere further down, so the `ALWAYS` block remains first. Perhaps around line 32, after the `variant in (jitless, ...` block?

Jakob Kummerow

Marking as done.

Open in Gerrit

Related details

Attention is currently required from:
  • Daniel Lehmann
  • Paolo Severini
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: Ib87912d83f3a1af45bc713a3ef51fda56a173224
    Gerrit-Change-Number: 7653296
    Gerrit-PatchSet: 8
    Gerrit-Owner: Paolo Severini <paol...@microsoft.com>
    Gerrit-Reviewer: Daniel Lehmann <dleh...@chromium.org>
    Gerrit-Reviewer: Jakob Kummerow <jkum...@chromium.org>
    Gerrit-Reviewer: Paolo Severini <paol...@microsoft.com>
    Gerrit-CC: Gyuyoung Kim <gyuy...@igalia.com>
    Gerrit-Attention: Daniel Lehmann <dleh...@chromium.org>
    Gerrit-Attention: Paolo Severini <paol...@microsoft.com>
    Gerrit-Comment-Date: Thu, 12 Mar 2026 16:22:57 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Jakob Kummerow <jkum...@chromium.org>
    satisfied_requirement
    open
    diffy

    Paolo Severini (Gerrit)

    unread,
    Mar 12, 2026, 12:30:37 PMMar 12
    to Jakob Kummerow, Gyuyoung Kim, Daniel Lehmann, V8 LUCI CQ, v8-re...@googlegroups.com, was...@google.com
    Attention needed from Daniel Lehmann

    Paolo Severini voted Commit-Queue+2

    Commit-Queue+2
    Open in Gerrit

    Related details

    Attention is currently required from:
    • Daniel Lehmann
    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: Ib87912d83f3a1af45bc713a3ef51fda56a173224
    Gerrit-Change-Number: 7653296
    Gerrit-PatchSet: 8
    Gerrit-Owner: Paolo Severini <paol...@microsoft.com>
    Gerrit-Reviewer: Daniel Lehmann <dleh...@chromium.org>
    Gerrit-Reviewer: Jakob Kummerow <jkum...@chromium.org>
    Gerrit-Reviewer: Paolo Severini <paol...@microsoft.com>
    Gerrit-CC: Gyuyoung Kim <gyuy...@igalia.com>
    Gerrit-Attention: Daniel Lehmann <dleh...@chromium.org>
    Gerrit-Comment-Date: Thu, 12 Mar 2026 16:30:32 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    open
    diffy

    V8 LUCI CQ (Gerrit)

    unread,
    Mar 12, 2026, 12:32:26 PMMar 12
    to Paolo Severini, Jakob Kummerow, Gyuyoung Kim, Daniel Lehmann, v8-re...@googlegroups.com, was...@google.com

    V8 LUCI CQ submitted the change

    Change information

    Commit message:
    [Wasm interpreter] Fix handling of globals storage

    This fixes the Wasm interpreter build and all the tests after a
    recent change to the handling of globals' storage.
    The fix avoids caching the location of the globals because they can
    be moved by the GC. Instead, the location is looked up on demand
    when needed.

    Also fixes an unrelated issue after a recent change to SafepointEntry.

    Also fixes the build after a revert made to Managed<T>::raw(), which
    does not return a std::shared_ptr<T> anymore.

    Bug: 491318550
    Change-Id: Ib87912d83f3a1af45bc713a3ef51fda56a173224
    Reviewed-by: Jakob Kummerow <jkum...@chromium.org>
    Commit-Queue: Paolo Severini <paol...@microsoft.com>
    Cr-Commit-Position: refs/heads/main@{#105772}
    Files:
    • M src/execution/frames.cc
    • M src/wasm/interpreter/wasm-interpreter-objects.cc
    • M src/wasm/interpreter/wasm-interpreter-objects.h
    • M src/wasm/interpreter/wasm-interpreter-runtime-inl.h
    • M src/wasm/interpreter/wasm-interpreter-runtime.cc
    • M src/wasm/interpreter/wasm-interpreter-runtime.h
    • M test/filecheck/filecheck.status
    • M test/fuzzer/wasm/interpreter/interpreter-fuzzer-common.cc
    • M test/message/message.status
    • M test/mjsunit/mjsunit.status
    • M test/wasm-spec-tests/wasm-spec-tests.status
    Change size: M
    Delta: 11 files changed, 58 insertions(+), 35 deletions(-)
    Branch: refs/heads/main
    Submit Requirements:
    • requirement satisfiedCode-Review: +1 by Jakob Kummerow
    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: Ib87912d83f3a1af45bc713a3ef51fda56a173224
    Gerrit-Change-Number: 7653296
    Gerrit-PatchSet: 9
    Gerrit-Owner: Paolo Severini <paol...@microsoft.com>
    Gerrit-Reviewer: Daniel Lehmann <dleh...@chromium.org>
    Gerrit-Reviewer: Jakob Kummerow <jkum...@chromium.org>
    Gerrit-Reviewer: Paolo Severini <paol...@microsoft.com>
    Gerrit-CC: Gyuyoung Kim <gyuy...@igalia.com>
    open
    diffy
    satisfied_requirement

    Paolo Severini (Gerrit)

    unread,
    Mar 12, 2026, 12:34:00 PMMar 12
    to V8 LUCI CQ, Jakob Kummerow, Gyuyoung Kim, Daniel Lehmann, v8-re...@googlegroups.com, was...@google.com

    Paolo Severini added 1 comment

    Patchset-level comments
    File-level comment, Patchset 9 (Latest):
    Paolo Severini . resolved

    Thanks for your help!

    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: Ib87912d83f3a1af45bc713a3ef51fda56a173224
    Gerrit-Change-Number: 7653296
    Gerrit-PatchSet: 9
    Gerrit-Owner: Paolo Severini <paol...@microsoft.com>
    Gerrit-Reviewer: Daniel Lehmann <dleh...@chromium.org>
    Gerrit-Reviewer: Jakob Kummerow <jkum...@chromium.org>
    Gerrit-Reviewer: Paolo Severini <paol...@microsoft.com>
    Gerrit-CC: Gyuyoung Kim <gyuy...@igalia.com>
    Gerrit-Comment-Date: Thu, 12 Mar 2026 16:33:55 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    open
    diffy
    Reply all
    Reply to author
    Forward
    0 new messages