[wasm, codegen] Add skipped write barrier verification to Liftoff [v8/v8 : main]

1 view
Skip to first unread message

Dominik Inführ (Gerrit)

unread,
Sep 2, 2025, 9:29:07 AM (5 days ago) Sep 2
to Matthias Liedtke, V8 LUCI CQ, AyeAye, Hannes Payer, dmercadi...@chromium.org, v8-ppc...@googlegroups.com, v8-risc...@chromium.org, v8-mip...@googlegroups.com, mlippau...@chromium.org, v8-re...@googlegroups.com, was...@google.com
Attention needed from Matthias Liedtke

Dominik Inführ added 1 comment

Patchset-level comments
File-level comment, Patchset 8 (Latest):
Dominik Inführ . resolved

PTAL

Open in Gerrit

Related details

Attention is currently required from:
  • Matthias Liedtke
Submit Requirements:
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
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: I4265e1ba38f545c121b7575f98d28d3ea6af49dc
Gerrit-Change-Number: 6904552
Gerrit-PatchSet: 8
Gerrit-Owner: Dominik Inführ <dinf...@chromium.org>
Gerrit-Reviewer: Dominik Inführ <dinf...@chromium.org>
Gerrit-Reviewer: Matthias Liedtke <mlie...@chromium.org>
Gerrit-CC: Hannes Payer <hpa...@chromium.org>
Gerrit-Attention: Matthias Liedtke <mlie...@chromium.org>
Gerrit-Comment-Date: Tue, 02 Sep 2025 13:28:59 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
unsatisfied_requirement
open
diffy

Dominik Inführ (Gerrit)

unread,
Sep 2, 2025, 9:51:38 AM (5 days ago) Sep 2
to Darius Mercadier, Matthias Liedtke, V8 LUCI CQ, AyeAye, Hannes Payer, dmercadi...@chromium.org, v8-ppc...@googlegroups.com, v8-risc...@chromium.org, v8-mip...@googlegroups.com, mlippau...@chromium.org, v8-re...@googlegroups.com, was...@google.com
Attention needed from Darius Mercadier and Matthias Liedtke

Dominik Inführ added 1 comment

Patchset-level comments
Dominik Inführ . resolved

Adding Darius as reviewer as well, since we've discussed Turbofan support together.

Open in Gerrit

Related details

Attention is currently required from:
  • Darius Mercadier
  • Matthias Liedtke
Submit Requirements:
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
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: I4265e1ba38f545c121b7575f98d28d3ea6af49dc
Gerrit-Change-Number: 6904552
Gerrit-PatchSet: 8
Gerrit-Owner: Dominik Inführ <dinf...@chromium.org>
Gerrit-Reviewer: Darius Mercadier <dmerc...@chromium.org>
Gerrit-Reviewer: Dominik Inführ <dinf...@chromium.org>
Gerrit-Reviewer: Matthias Liedtke <mlie...@chromium.org>
Gerrit-CC: Hannes Payer <hpa...@chromium.org>
Gerrit-Attention: Matthias Liedtke <mlie...@chromium.org>
Gerrit-Attention: Darius Mercadier <dmerc...@chromium.org>
Gerrit-Comment-Date: Tue, 02 Sep 2025 13:51:33 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
unsatisfied_requirement
open
diffy

Matthias Liedtke (Gerrit)

unread,
Sep 2, 2025, 10:13:23 AM (5 days ago) Sep 2
to Dominik Inführ, Clemens Backes, Darius Mercadier, V8 LUCI CQ, AyeAye, Hannes Payer, dmercadi...@chromium.org, v8-ppc...@googlegroups.com, v8-risc...@chromium.org, v8-mip...@googlegroups.com, mlippau...@chromium.org, v8-re...@googlegroups.com, was...@google.com
Attention needed from Clemens Backes, Darius Mercadier and Dominik Inführ

Matthias Liedtke added 1 comment

Patchset-level comments
File-level comment, Patchset 9:
Matthias Liedtke . resolved

@clem...@chromium.org: Could you please take this review to reduce my review workload?

Open in Gerrit

Related details

Attention is currently required from:
  • Clemens Backes
  • Darius Mercadier
  • Dominik Inführ
Submit Requirements:
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
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: I4265e1ba38f545c121b7575f98d28d3ea6af49dc
Gerrit-Change-Number: 6904552
Gerrit-PatchSet: 9
Gerrit-Owner: Dominik Inführ <dinf...@chromium.org>
Gerrit-Reviewer: Clemens Backes <clem...@chromium.org>
Gerrit-Reviewer: Darius Mercadier <dmerc...@chromium.org>
Gerrit-Reviewer: Dominik Inführ <dinf...@chromium.org>
Gerrit-CC: Hannes Payer <hpa...@chromium.org>
Gerrit-CC: Matthias Liedtke <mlie...@chromium.org>
Gerrit-Attention: Clemens Backes <clem...@chromium.org>
Gerrit-Attention: Dominik Inführ <dinf...@chromium.org>
Gerrit-Attention: Darius Mercadier <dmerc...@chromium.org>
Gerrit-Comment-Date: Tue, 02 Sep 2025 14:13:18 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
unsatisfied_requirement
open
diffy

Clemens Backes (Gerrit)

unread,
Sep 2, 2025, 10:33:36 AM (5 days ago) Sep 2
to Dominik Inführ, Matthias Liedtke, Darius Mercadier, V8 LUCI CQ, AyeAye, Hannes Payer, dmercadi...@chromium.org, v8-ppc...@googlegroups.com, v8-risc...@chromium.org, v8-mip...@googlegroups.com, mlippau...@chromium.org, v8-re...@googlegroups.com, was...@google.com
Attention needed from Darius Mercadier and Dominik Inführ

Clemens Backes added 1 comment

File src/compiler/turboshaft/memory-optimization-reducer.h
Line 557, Patchset 10 (Latest): WasmTrustedInstanceData::kLastYoungAllocationAddressOffset);
Clemens Backes . unresolved

Is this additional field on the `WasmTrustedInstanceData` needed? We have the roots register, from which we can get to the isolate address (constant offset, `kIsolateRootBias`?), right? So in the end we would emit a single store relative to the root register.

(and we can probably do the same for the `stress_deopt_counter_address`, but that's orthogonal)

Open in Gerrit

Related details

Attention is currently required from:
  • Darius Mercadier
  • Dominik Inführ
Submit Requirements:
    • requirement is not satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    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: I4265e1ba38f545c121b7575f98d28d3ea6af49dc
    Gerrit-Change-Number: 6904552
    Gerrit-PatchSet: 10
    Gerrit-Owner: Dominik Inführ <dinf...@chromium.org>
    Gerrit-Reviewer: Clemens Backes <clem...@chromium.org>
    Gerrit-Reviewer: Darius Mercadier <dmerc...@chromium.org>
    Gerrit-Reviewer: Dominik Inführ <dinf...@chromium.org>
    Gerrit-CC: Hannes Payer <hpa...@chromium.org>
    Gerrit-CC: Matthias Liedtke <mlie...@chromium.org>
    Gerrit-Attention: Dominik Inführ <dinf...@chromium.org>
    Gerrit-Attention: Darius Mercadier <dmerc...@chromium.org>
    Gerrit-Comment-Date: Tue, 02 Sep 2025 14:33:31 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    unsatisfied_requirement
    open
    diffy

    Dominik Inführ (Gerrit)

    unread,
    Sep 2, 2025, 10:39:48 AM (5 days ago) Sep 2
    to Clemens Backes, Matthias Liedtke, Darius Mercadier, V8 LUCI CQ, AyeAye, Hannes Payer, dmercadi...@chromium.org, v8-ppc...@googlegroups.com, v8-risc...@chromium.org, v8-mip...@googlegroups.com, mlippau...@chromium.org, v8-re...@googlegroups.com, was...@google.com
    Attention needed from Clemens Backes and Darius Mercadier

    Dominik Inführ voted and added 1 comment

    Votes added by Dominik Inführ

    Commit-Queue+1

    1 comment

    File src/compiler/turboshaft/memory-optimization-reducer.h
    Line 557, Patchset 10 (Latest): WasmTrustedInstanceData::kLastYoungAllocationAddressOffset);
    Clemens Backes . unresolved

    Is this additional field on the `WasmTrustedInstanceData` needed? We have the roots register, from which we can get to the isolate address (constant offset, `kIsolateRootBias`?), right? So in the end we would emit a single store relative to the root register.

    (and we can probably do the same for the `stress_deopt_counter_address`, but that's orthogonal)

    Dominik Inführ

    Hmm, good point. I have to check this. I simply copied the solution we use from NewSpaceAllocationTop. If that works, we should be able to use the same mechanism for this as well and maybe get some performance benefits from this as well.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Clemens Backes
    • Darius Mercadier
    Submit Requirements:
    • requirement is not satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    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: I4265e1ba38f545c121b7575f98d28d3ea6af49dc
    Gerrit-Change-Number: 6904552
    Gerrit-PatchSet: 10
    Gerrit-Owner: Dominik Inführ <dinf...@chromium.org>
    Gerrit-Reviewer: Clemens Backes <clem...@chromium.org>
    Gerrit-Reviewer: Darius Mercadier <dmerc...@chromium.org>
    Gerrit-Reviewer: Dominik Inführ <dinf...@chromium.org>
    Gerrit-CC: Hannes Payer <hpa...@chromium.org>
    Gerrit-CC: Matthias Liedtke <mlie...@chromium.org>
    Gerrit-Attention: Clemens Backes <clem...@chromium.org>
    Gerrit-Attention: Darius Mercadier <dmerc...@chromium.org>
    Gerrit-Comment-Date: Tue, 02 Sep 2025 14:39:43 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    Comment-In-Reply-To: Clemens Backes <clem...@chromium.org>
    unsatisfied_requirement
    open
    diffy

    Dominik Inführ (Gerrit)

    unread,
    Sep 2, 2025, 1:46:35 PM (5 days ago) Sep 2
    to Clemens Backes, Matthias Liedtke, Darius Mercadier, V8 LUCI CQ, AyeAye, Hannes Payer, dmercadi...@chromium.org, v8-ppc...@googlegroups.com, v8-risc...@chromium.org, v8-mip...@googlegroups.com, mlippau...@chromium.org, v8-re...@googlegroups.com, was...@google.com
    Attention needed from Clemens Backes and Darius Mercadier

    Dominik Inführ added 2 comments

    Patchset-level comments
    File-level comment, Patchset 11 (Latest):
    Dominik Inführ . resolved

    Updated the CL, PTALA

    File src/compiler/turboshaft/memory-optimization-reducer.h
    Line 557, Patchset 10: WasmTrustedInstanceData::kLastYoungAllocationAddressOffset);
    Clemens Backes . resolved

    Is this additional field on the `WasmTrustedInstanceData` needed? We have the roots register, from which we can get to the isolate address (constant offset, `kIsolateRootBias`?), right? So in the end we would emit a single store relative to the root register.

    (and we can probably do the same for the `stress_deopt_counter_address`, but that's orthogonal)

    Dominik Inführ

    Hmm, good point. I have to check this. I simply copied the solution we use from NewSpaceAllocationTop. If that works, we should be able to use the same mechanism for this as well and maybe get some performance benefits from this as well.

    Dominik Inführ

    This indeed seems to work, thanks! PTALA

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Clemens Backes
    • Darius Mercadier
    Submit Requirements:
    • requirement is not satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    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: I4265e1ba38f545c121b7575f98d28d3ea6af49dc
    Gerrit-Change-Number: 6904552
    Gerrit-PatchSet: 11
    Gerrit-Owner: Dominik Inführ <dinf...@chromium.org>
    Gerrit-Reviewer: Clemens Backes <clem...@chromium.org>
    Gerrit-Reviewer: Darius Mercadier <dmerc...@chromium.org>
    Gerrit-Reviewer: Dominik Inführ <dinf...@chromium.org>
    Gerrit-CC: Hannes Payer <hpa...@chromium.org>
    Gerrit-CC: Matthias Liedtke <mlie...@chromium.org>
    Gerrit-Attention: Clemens Backes <clem...@chromium.org>
    Gerrit-Attention: Darius Mercadier <dmerc...@chromium.org>
    Gerrit-Comment-Date: Tue, 02 Sep 2025 17:46:29 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Clemens Backes <clem...@chromium.org>
    Comment-In-Reply-To: Dominik Inführ <dinf...@chromium.org>
    unsatisfied_requirement
    open
    diffy

    Clemens Backes (Gerrit)

    unread,
    Sep 3, 2025, 4:53:01 AM (4 days ago) Sep 3
    to Dominik Inführ, Matthias Liedtke, Darius Mercadier, V8 LUCI CQ, AyeAye, Hannes Payer, dmercadi...@chromium.org, v8-ppc...@googlegroups.com, v8-risc...@chromium.org, v8-mip...@googlegroups.com, mlippau...@chromium.org, v8-re...@googlegroups.com, was...@google.com
    Attention needed from Darius Mercadier and Dominik Inführ

    Clemens Backes voted and added 1 comment

    Votes added by Clemens Backes

    Code-Review+1

    1 comment

    Patchset-level comments
    Clemens Backes . resolved

    Nice! LGTM.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Darius Mercadier
    • Dominik Inführ
    Submit Requirements:
      • requirement is not satisfiedCode-Owners
      • requirement satisfiedCode-Review
      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: I4265e1ba38f545c121b7575f98d28d3ea6af49dc
      Gerrit-Change-Number: 6904552
      Gerrit-PatchSet: 11
      Gerrit-Owner: Dominik Inführ <dinf...@chromium.org>
      Gerrit-Reviewer: Clemens Backes <clem...@chromium.org>
      Gerrit-Reviewer: Darius Mercadier <dmerc...@chromium.org>
      Gerrit-Reviewer: Dominik Inführ <dinf...@chromium.org>
      Gerrit-CC: Hannes Payer <hpa...@chromium.org>
      Gerrit-CC: Matthias Liedtke <mlie...@chromium.org>
      Gerrit-Attention: Dominik Inführ <dinf...@chromium.org>
      Gerrit-Attention: Darius Mercadier <dmerc...@chromium.org>
      Gerrit-Comment-Date: Wed, 03 Sep 2025 08:52:56 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: Yes
      unsatisfied_requirement
      satisfied_requirement
      open
      diffy

      Darius Mercadier (Gerrit)

      unread,
      Sep 3, 2025, 4:56:50 AM (4 days ago) Sep 3
      to Dominik Inführ, Clemens Backes, Matthias Liedtke, V8 LUCI CQ, AyeAye, Hannes Payer, dmercadi...@chromium.org, v8-ppc...@googlegroups.com, v8-risc...@chromium.org, v8-mip...@googlegroups.com, mlippau...@chromium.org, v8-re...@googlegroups.com, was...@google.com
      Attention needed from Dominik Inführ

      Darius Mercadier voted and added 1 comment

      Votes added by Darius Mercadier

      Code-Review+1

      1 comment

      Patchset-level comments
      Darius Mercadier . resolved

      src/compiler LGTM

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Dominik Inführ
      Submit Requirements:
      • requirement satisfiedCode-Owners
      • requirement satisfiedCode-Review
      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: I4265e1ba38f545c121b7575f98d28d3ea6af49dc
      Gerrit-Change-Number: 6904552
      Gerrit-PatchSet: 11
      Gerrit-Owner: Dominik Inführ <dinf...@chromium.org>
      Gerrit-Reviewer: Clemens Backes <clem...@chromium.org>
      Gerrit-Reviewer: Darius Mercadier <dmerc...@chromium.org>
      Gerrit-Reviewer: Dominik Inführ <dinf...@chromium.org>
      Gerrit-CC: Hannes Payer <hpa...@chromium.org>
      Gerrit-CC: Matthias Liedtke <mlie...@chromium.org>
      Gerrit-Attention: Dominik Inführ <dinf...@chromium.org>
      Gerrit-Comment-Date: Wed, 03 Sep 2025 08:56:45 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      open
      diffy

      Dominik Inführ (Gerrit)

      unread,
      Sep 3, 2025, 7:10:49 AM (4 days ago) Sep 3
      to Darius Mercadier, Clemens Backes, Matthias Liedtke, V8 LUCI CQ, AyeAye, Hannes Payer, dmercadi...@chromium.org, v8-ppc...@googlegroups.com, v8-risc...@chromium.org, v8-mip...@googlegroups.com, mlippau...@chromium.org, v8-re...@googlegroups.com, was...@google.com

      Dominik Inführ added 1 comment

      Patchset-level comments
      File-level comment, Patchset 12 (Latest):
      Dominik Inführ . resolved

      Hey, in PS12 I've updated the CL to only use the root relative code path as it should work both if isolate() is null or non-null. It should also basically create the same generated code. PTALA to see whether that's okay for you.

      Open in Gerrit

      Related details

      Attention set is empty
      Submit Requirements:
      • requirement satisfiedCode-Owners
      • requirement satisfiedCode-Review
      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: I4265e1ba38f545c121b7575f98d28d3ea6af49dc
      Gerrit-Change-Number: 6904552
      Gerrit-PatchSet: 12
      Gerrit-Owner: Dominik Inführ <dinf...@chromium.org>
      Gerrit-Reviewer: Clemens Backes <clem...@chromium.org>
      Gerrit-Reviewer: Darius Mercadier <dmerc...@chromium.org>
      Gerrit-Reviewer: Dominik Inführ <dinf...@chromium.org>
      Gerrit-CC: Hannes Payer <hpa...@chromium.org>
      Gerrit-CC: Matthias Liedtke <mlie...@chromium.org>
      Gerrit-Comment-Date: Wed, 03 Sep 2025 11:10:44 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      satisfied_requirement
      open
      diffy

      Clemens Backes (Gerrit)

      unread,
      Sep 3, 2025, 7:42:28 AM (4 days ago) Sep 3
      to Dominik Inführ, Darius Mercadier, Matthias Liedtke, V8 LUCI CQ, AyeAye, Hannes Payer, dmercadi...@chromium.org, v8-ppc...@googlegroups.com, v8-risc...@chromium.org, v8-mip...@googlegroups.com, mlippau...@chromium.org, v8-re...@googlegroups.com, was...@google.com
      Attention needed from Dominik Inführ

      Clemens Backes voted and added 1 comment

      Votes added by Clemens Backes

      Code-Review+1

      1 comment

      Patchset-level comments
      Dominik Inführ . resolved

      Hey, in PS12 I've updated the CL to only use the root relative code path as it should work both if isolate() is null or non-null. It should also basically create the same generated code. PTALA to see whether that's okay for you.

      Clemens Backes

      Ah, I was already wondering if we actually need the other code :)
      LGTM.

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Dominik Inführ
      Submit Requirements:
      • requirement satisfiedCode-Owners
      • requirement satisfiedCode-Review
      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: I4265e1ba38f545c121b7575f98d28d3ea6af49dc
      Gerrit-Change-Number: 6904552
      Gerrit-PatchSet: 12
      Gerrit-Owner: Dominik Inführ <dinf...@chromium.org>
      Gerrit-Reviewer: Clemens Backes <clem...@chromium.org>
      Gerrit-Reviewer: Darius Mercadier <dmerc...@chromium.org>
      Gerrit-Reviewer: Dominik Inführ <dinf...@chromium.org>
      Gerrit-CC: Hannes Payer <hpa...@chromium.org>
      Gerrit-CC: Matthias Liedtke <mlie...@chromium.org>
      Gerrit-Attention: Dominik Inführ <dinf...@chromium.org>
      Gerrit-Comment-Date: Wed, 03 Sep 2025 11:42:23 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: Yes
      Comment-In-Reply-To: Dominik Inführ <dinf...@chromium.org>
      satisfied_requirement
      open
      diffy

      Dominik Inführ (Gerrit)

      unread,
      Sep 3, 2025, 8:31:20 AM (4 days ago) Sep 3
      to Darius Mercadier, Clemens Backes, Matthias Liedtke, V8 LUCI CQ, AyeAye, Hannes Payer, dmercadi...@chromium.org, v8-ppc...@googlegroups.com, v8-risc...@chromium.org, v8-mip...@googlegroups.com, mlippau...@chromium.org, v8-re...@googlegroups.com, was...@google.com

      Dominik Inführ voted and added 1 comment

      Votes added by Dominik Inführ

      Commit-Queue+2

      1 comment

      Patchset-level comments
      Dominik Inführ . resolved

      Thanks for the reviews!

      Open in Gerrit

      Related details

      Attention set is empty
      Submit Requirements:
      • requirement satisfiedCode-Owners
      • requirement satisfiedCode-Review
      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: I4265e1ba38f545c121b7575f98d28d3ea6af49dc
      Gerrit-Change-Number: 6904552
      Gerrit-PatchSet: 12
      Gerrit-Owner: Dominik Inführ <dinf...@chromium.org>
      Gerrit-Reviewer: Clemens Backes <clem...@chromium.org>
      Gerrit-Reviewer: Darius Mercadier <dmerc...@chromium.org>
      Gerrit-Reviewer: Dominik Inführ <dinf...@chromium.org>
      Gerrit-CC: Hannes Payer <hpa...@chromium.org>
      Gerrit-CC: Matthias Liedtke <mlie...@chromium.org>
      Gerrit-Comment-Date: Wed, 03 Sep 2025 12:31:14 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      open
      diffy

      V8 LUCI CQ (Gerrit)

      unread,
      Sep 3, 2025, 9:01:25 AM (4 days ago) Sep 3
      to Dominik Inführ, Darius Mercadier, Clemens Backes, Matthias Liedtke, AyeAye, Hannes Payer, dmercadi...@chromium.org, v8-ppc...@googlegroups.com, v8-risc...@chromium.org, v8-mip...@googlegroups.com, mlippau...@chromium.org, v8-re...@googlegroups.com, was...@google.com

      V8 LUCI CQ submitted the change

      Change information

      Commit message:
      [wasm, codegen] Add skipped write barrier verification to Liftoff

      This CL adds support to Liftoff for skipped write barrier
      verification. When this verification mode is enabled, skipped write
      barriers call a C function in order to check whether skipping the
      barrier was valid.

      In order for this check to work, allocations in generated code
      need to set the last_young_allocation_ field either to the new
      object in new space or reset it to 0. For Liftoff, allocations
      are generated through Turbofan/Turboshaft. So this CL also
      extends MemoryOptimizationReducer.
      Bug: 437096305
      Change-Id: I4265e1ba38f545c121b7575f98d28d3ea6af49dc
      Cq-Include-Trybots: luci.v8.try:v8_mac_arm64_dbg
      Cq-Include-Trybots: luci.v8.try:v8_linux_arm_dbg
      Cq-Include-Trybots: luci.v8.try:v8_linux_dbg
      Reviewed-by: Darius Mercadier <dmerc...@chromium.org>
      Reviewed-by: Clemens Backes <clem...@chromium.org>
      Commit-Queue: Dominik Inführ <dinf...@chromium.org>
      Cr-Commit-Position: refs/heads/main@{#102218}
      Files:
      • M src/codegen/arm/macro-assembler-arm.cc
      • M src/codegen/arm/macro-assembler-arm.h
      • M src/codegen/arm64/macro-assembler-arm64.cc
      • M src/codegen/arm64/macro-assembler-arm64.h
      • M src/codegen/code-stub-assembler.cc
      • M src/codegen/external-reference.cc
      • M src/codegen/external-reference.h
      • M src/codegen/ia32/macro-assembler-ia32.cc
      • M src/codegen/ia32/macro-assembler-ia32.h
      • M src/codegen/x64/macro-assembler-x64.cc
      • M src/codegen/x64/macro-assembler-x64.h
      • M src/compiler/turboshaft/memory-optimization-reducer.h
      • M src/heap/heap.cc
      • M src/heap/heap.h
      • M src/wasm/baseline/arm/liftoff-assembler-arm-inl.h
      • M src/wasm/baseline/arm64/liftoff-assembler-arm64-inl.h
      • M src/wasm/baseline/ia32/liftoff-assembler-ia32-inl.h
      • M src/wasm/baseline/x64/liftoff-assembler-x64-inl.h
      Change size: M
      Delta: 18 files changed, 180 insertions(+), 4 deletions(-)
      Branch: refs/heads/main
      Submit Requirements:
      • requirement satisfiedCode-Review: +1 by Clemens Backes, +1 by Darius Mercadier
      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: I4265e1ba38f545c121b7575f98d28d3ea6af49dc
      Gerrit-Change-Number: 6904552
      Gerrit-PatchSet: 13
      Gerrit-Owner: Dominik Inführ <dinf...@chromium.org>
      Gerrit-Reviewer: Clemens Backes <clem...@chromium.org>
      Gerrit-Reviewer: Darius Mercadier <dmerc...@chromium.org>
      Gerrit-Reviewer: Dominik Inführ <dinf...@chromium.org>
      open
      diffy
      satisfied_requirement

      Kasper Lund (Gerrit)

      unread,
      Sep 4, 2025, 1:01:17 AM (3 days ago) Sep 4
      to Yahan Lu (LuYahan), V8 LUCI CQ, Ji Qiu, AyeAye, v8-re...@googlegroups.com, was...@google.com
      Attention needed from Ji Qiu and Yahan Lu (LuYahan)

      Kasper Lund voted and added 1 comment

      Votes added by Kasper Lund

      Code-Review+1

      1 comment

      File src/codegen/riscv/macro-assembler-riscv.cc
      Line 739, Patchset 1 (Latest): mv(kCArgRegs[0], object);
      Kasper Lund . resolved

      Are we sure these cannot overlap? Can we DCHECK?

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Ji Qiu
      • Yahan Lu (LuYahan)
      Submit Requirements:
      • requirement satisfiedCode-Owners
      • requirement satisfiedCode-Review
      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: Ib9130ddd5e88688a0bbdd1ee96bd8e3da127dc82
      Gerrit-Change-Number: 6914315
      Gerrit-PatchSet: 1
      Gerrit-Owner: Yahan Lu (LuYahan) <ya...@iscas.ac.cn>
      Gerrit-Reviewer: Ji Qiu <qi...@iscas.ac.cn>
      Gerrit-Reviewer: Kasper Lund <kas...@rivosinc.com>
      Gerrit-Reviewer: Yahan Lu (LuYahan) <ya...@iscas.ac.cn>
      Gerrit-Attention: Yahan Lu (LuYahan) <ya...@iscas.ac.cn>
      Gerrit-Attention: Ji Qiu <qi...@iscas.ac.cn>
      Gerrit-Comment-Date: Thu, 04 Sep 2025 05:01:11 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      open
      diffy

      Kasper Lund (Gerrit)

      unread,
      Sep 4, 2025, 1:01:35 AM (3 days ago) Sep 4
      to Yahan Lu (LuYahan), V8 LUCI CQ, Ji Qiu, AyeAye, v8-re...@googlegroups.com, was...@google.com
      Attention needed from Ji Qiu and Yahan Lu (LuYahan)

      Kasper Lund added 1 comment

      Patchset-level comments
      File-level comment, Patchset 1 (Latest):
      Kasper Lund . resolved

      Looks good to me.

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Ji Qiu
      • Yahan Lu (LuYahan)
      Submit Requirements:
      • requirement satisfiedCode-Owners
      • requirement satisfiedCode-Review
      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: Ib9130ddd5e88688a0bbdd1ee96bd8e3da127dc82
      Gerrit-Change-Number: 6914315
      Gerrit-PatchSet: 1
      Gerrit-Owner: Yahan Lu (LuYahan) <ya...@iscas.ac.cn>
      Gerrit-Reviewer: Ji Qiu <qi...@iscas.ac.cn>
      Gerrit-Reviewer: Kasper Lund <kas...@rivosinc.com>
      Gerrit-Reviewer: Yahan Lu (LuYahan) <ya...@iscas.ac.cn>
      Gerrit-Attention: Yahan Lu (LuYahan) <ya...@iscas.ac.cn>
      Gerrit-Attention: Ji Qiu <qi...@iscas.ac.cn>
      Gerrit-Comment-Date: Thu, 04 Sep 2025 05:01:28 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      satisfied_requirement
      open
      diffy

      Florian Loitsch (Gerrit)

      unread,
      Sep 4, 2025, 2:51:03 AM (3 days ago) Sep 4
      to Yahan Lu (LuYahan), Kasper Lund, V8 LUCI CQ, Ji Qiu, AyeAye, v8-re...@googlegroups.com, was...@google.com
      Attention needed from Ji Qiu and Yahan Lu (LuYahan)

      Florian Loitsch voted Code-Review+1

      Code-Review+1
      Open in Gerrit

      Related details

      Attention is currently required from:
      • Ji Qiu
      • Yahan Lu (LuYahan)
      Submit Requirements:
      • requirement satisfiedCode-Owners
      • requirement satisfiedCode-Review
      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: Ib9130ddd5e88688a0bbdd1ee96bd8e3da127dc82
      Gerrit-Change-Number: 6914315
      Gerrit-PatchSet: 1
      Gerrit-Owner: Yahan Lu (LuYahan) <ya...@iscas.ac.cn>
      Gerrit-Reviewer: Florian Loitsch <floi...@rivosinc.com>
      Gerrit-Reviewer: Ji Qiu <qi...@iscas.ac.cn>
      Gerrit-Reviewer: Kasper Lund <kas...@rivosinc.com>
      Gerrit-Reviewer: Yahan Lu (LuYahan) <ya...@iscas.ac.cn>
      Gerrit-Attention: Yahan Lu (LuYahan) <ya...@iscas.ac.cn>
      Gerrit-Attention: Ji Qiu <qi...@iscas.ac.cn>
      Gerrit-Comment-Date: Thu, 04 Sep 2025 06:50:57 +0000
      Gerrit-HasComments: No
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      open
      diffy

      Ji Qiu (Gerrit)

      unread,
      Sep 4, 2025, 4:38:36 AM (3 days ago) Sep 4
      to Yahan Lu (LuYahan), Florian Loitsch, Kasper Lund, V8 LUCI CQ, AyeAye, v8-re...@googlegroups.com, was...@google.com
      Attention needed from Yahan Lu (LuYahan)

      Ji Qiu voted Code-Review+1

      Code-Review+1
      Open in Gerrit

      Related details

      Attention is currently required from:
      • Yahan Lu (LuYahan)
      Submit Requirements:
      • requirement satisfiedCode-Owners
      • requirement satisfiedCode-Review
      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: Ib9130ddd5e88688a0bbdd1ee96bd8e3da127dc82
      Gerrit-Change-Number: 6914315
      Gerrit-PatchSet: 1
      Gerrit-Owner: Yahan Lu (LuYahan) <ya...@iscas.ac.cn>
      Gerrit-Reviewer: Florian Loitsch <floi...@rivosinc.com>
      Gerrit-Reviewer: Ji Qiu <qi...@iscas.ac.cn>
      Gerrit-Reviewer: Kasper Lund <kas...@rivosinc.com>
      Gerrit-Reviewer: Yahan Lu (LuYahan) <ya...@iscas.ac.cn>
      Gerrit-Attention: Yahan Lu (LuYahan) <ya...@iscas.ac.cn>
      Gerrit-Comment-Date: Thu, 04 Sep 2025 08:38:33 +0000
      Gerrit-HasComments: No
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      open
      diffy

      Yahan Lu (LuYahan) (Gerrit)

      unread,
      Sep 4, 2025, 8:50:20 PM (3 days ago) Sep 4
      to Ji Qiu, Florian Loitsch, Kasper Lund, V8 LUCI CQ, AyeAye, v8-re...@googlegroups.com, was...@google.com

      Yahan Lu (LuYahan) voted

      Auto-Submit+1
      Commit-Queue+2
      Open in Gerrit

      Related details

      Attention set is empty
      Submit Requirements:
      • requirement satisfiedCode-Owners
      • requirement satisfiedCode-Review
      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: Ib9130ddd5e88688a0bbdd1ee96bd8e3da127dc82
      Gerrit-Change-Number: 6914315
      Gerrit-PatchSet: 1
      Gerrit-Owner: Yahan Lu (LuYahan) <ya...@iscas.ac.cn>
      Gerrit-Reviewer: Florian Loitsch <floi...@rivosinc.com>
      Gerrit-Reviewer: Ji Qiu <qi...@iscas.ac.cn>
      Gerrit-Reviewer: Kasper Lund <kas...@rivosinc.com>
      Gerrit-Reviewer: Yahan Lu (LuYahan) <ya...@iscas.ac.cn>
      Gerrit-Comment-Date: Fri, 05 Sep 2025 00:50:13 +0000
      Gerrit-HasComments: No
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      open
      diffy

      V8 LUCI CQ (Gerrit)

      unread,
      Sep 4, 2025, 8:52:29 PM (3 days ago) Sep 4
      to Yahan Lu (LuYahan), Ji Qiu, Florian Loitsch, Kasper Lund, AyeAye, v8-re...@googlegroups.com, was...@google.com

      V8 LUCI CQ submitted the change

      Change information

      Commit message:
      [riscv][wasm, codegen] Add skipped write barrier verification to Liftoff

      Port commit bc103f35c846906fe57914a9846c12b955ff9e46
      Change-Id: Ib9130ddd5e88688a0bbdd1ee96bd8e3da127dc82
      Reviewed-by: Kasper Lund <kas...@rivosinc.com>
      Reviewed-by: Ji Qiu <qi...@iscas.ac.cn>
      Commit-Queue: Yahan Lu (LuYahan) <ya...@iscas.ac.cn>
      Reviewed-by: Florian Loitsch <floi...@rivosinc.com>
      Auto-Submit: Yahan Lu (LuYahan) <ya...@iscas.ac.cn>
      Cr-Commit-Position: refs/heads/main@{#102255}
      Files:
      • M src/codegen/riscv/macro-assembler-riscv.cc
      • M src/codegen/riscv/macro-assembler-riscv.h
      • M src/wasm/baseline/riscv/liftoff-assembler-riscv32-inl.h
      • M src/wasm/baseline/riscv/liftoff-assembler-riscv64-inl.h
      Change size: S
      Delta: 4 files changed, 40 insertions(+), 2 deletions(-)
      Branch: refs/heads/main
      Submit Requirements:
      • requirement satisfiedCode-Review: +1 by Kasper Lund, +1 by Florian Loitsch, +1 by Ji Qiu
      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: Ib9130ddd5e88688a0bbdd1ee96bd8e3da127dc82
      Gerrit-Change-Number: 6914315
      Gerrit-PatchSet: 2
      Gerrit-Owner: Yahan Lu (LuYahan) <ya...@iscas.ac.cn>
      Gerrit-Reviewer: Florian Loitsch <floi...@rivosinc.com>
      Gerrit-Reviewer: Ji Qiu <qi...@iscas.ac.cn>
      Gerrit-Reviewer: Kasper Lund <kas...@rivosinc.com>
      open
      diffy
      satisfied_requirement
      Reply all
      Reply to author
      Forward
      0 new messages