[api] Avoid species lookup in v8::Promise::{Then,Catch} [v8/v8 : main]

0 views
Skip to first unread message

Leszek Swirski (Gerrit)

unread,
Oct 23, 2025, 8:34:05 AM (3 days ago) Oct 23
to Olivier Flückiger, Andreas Haas, V8 LUCI CQ, cbruni...@chromium.org, v8-re...@googlegroups.com
Attention needed from Andreas Haas and Olivier Flückiger

Leszek Swirski added 1 comment

Patchset-level comments
File-level comment, Patchset 1 (Latest):
Leszek Swirski . resolved

Oli, PTAL overall
Andreas, PTAL wasm tests

Open in Gerrit

Related details

Attention is currently required from:
  • Andreas Haas
  • Olivier Flückiger
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: I0e1b1415cab4f35d63a0a30cf41d22e915fbe401
Gerrit-Change-Number: 7079568
Gerrit-PatchSet: 1
Gerrit-Owner: Leszek Swirski <les...@chromium.org>
Gerrit-Reviewer: Andreas Haas <ah...@google.com>
Gerrit-Reviewer: Leszek Swirski <les...@chromium.org>
Gerrit-Reviewer: Olivier Flückiger <ol...@chromium.org>
Gerrit-Attention: Andreas Haas <ah...@google.com>
Gerrit-Attention: Olivier Flückiger <ol...@chromium.org>
Gerrit-Comment-Date: Thu, 23 Oct 2025 12:34:00 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Andreas Haas (Gerrit)

unread,
Oct 23, 2025, 8:46:36 AM (3 days ago) Oct 23
to Leszek Swirski, Olivier Flückiger, V8 LUCI CQ, cbruni...@chromium.org, v8-re...@googlegroups.com
Attention needed from Leszek Swirski and Olivier Flückiger

Andreas Haas voted and added 1 comment

Votes added by Andreas Haas

Code-Review+1

1 comment

Patchset-level comments
Andreas Haas . resolved

I would say you can delete one of the tests, and only keep the one with compileStreaming. Both functions share the implementation at the moment anyways, and even if they didn't, I don't think this corner case would be worth spending twice the CPU cycles.

Open in Gerrit

Related details

Attention is currently required from:
  • Leszek Swirski
  • Olivier Flückiger
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: I0e1b1415cab4f35d63a0a30cf41d22e915fbe401
Gerrit-Change-Number: 7079568
Gerrit-PatchSet: 1
Gerrit-Owner: Leszek Swirski <les...@chromium.org>
Gerrit-Reviewer: Andreas Haas <ah...@google.com>
Gerrit-Reviewer: Leszek Swirski <les...@chromium.org>
Gerrit-Reviewer: Olivier Flückiger <ol...@chromium.org>
Gerrit-Attention: Olivier Flückiger <ol...@chromium.org>
Gerrit-Attention: Leszek Swirski <les...@chromium.org>
Gerrit-Comment-Date: Thu, 23 Oct 2025 12:46:31 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Leszek Swirski (Gerrit)

unread,
Oct 23, 2025, 8:51:49 AM (3 days ago) Oct 23
to Andreas Haas, Olivier Flückiger, V8 LUCI CQ, cbruni...@chromium.org, v8-re...@googlegroups.com
Attention needed from Andreas Haas and Olivier Flückiger

Leszek Swirski voted and added 1 comment

Votes added by Leszek Swirski

Commit-Queue+1

1 comment

Patchset-level comments
Andreas Haas . resolved

I would say you can delete one of the tests, and only keep the one with compileStreaming. Both functions share the implementation at the moment anyways, and even if they didn't, I don't think this corner case would be worth spending twice the CPU cycles.

Leszek Swirski

Sure, done.

Open in Gerrit

Related details

Attention is currently required from:
  • Andreas Haas
  • Olivier Flückiger
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: I0e1b1415cab4f35d63a0a30cf41d22e915fbe401
Gerrit-Change-Number: 7079568
Gerrit-PatchSet: 1
Gerrit-Owner: Leszek Swirski <les...@chromium.org>
Gerrit-Reviewer: Andreas Haas <ah...@google.com>
Gerrit-Reviewer: Leszek Swirski <les...@chromium.org>
Gerrit-Reviewer: Olivier Flückiger <ol...@chromium.org>
Gerrit-Attention: Andreas Haas <ah...@google.com>
Gerrit-Attention: Olivier Flückiger <ol...@chromium.org>
Gerrit-Comment-Date: Thu, 23 Oct 2025 12:51:45 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: Andreas Haas <ah...@google.com>
satisfied_requirement
unsatisfied_requirement
open
diffy

Andreas Haas (Gerrit)

unread,
Oct 23, 2025, 9:01:18 AM (3 days ago) Oct 23
to Leszek Swirski, Olivier Flückiger, V8 LUCI CQ, cbruni...@chromium.org, v8-re...@googlegroups.com
Attention needed from Leszek Swirski and Olivier Flückiger

Andreas Haas voted Code-Review+1

Code-Review+1
Open in Gerrit

Related details

Attention is currently required from:
  • Leszek Swirski
  • Olivier Flückiger
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: I0e1b1415cab4f35d63a0a30cf41d22e915fbe401
Gerrit-Change-Number: 7079568
Gerrit-PatchSet: 2
Gerrit-Owner: Leszek Swirski <les...@chromium.org>
Gerrit-Reviewer: Andreas Haas <ah...@google.com>
Gerrit-Reviewer: Leszek Swirski <les...@chromium.org>
Gerrit-Reviewer: Olivier Flückiger <ol...@chromium.org>
Gerrit-Attention: Olivier Flückiger <ol...@chromium.org>
Gerrit-Attention: Leszek Swirski <les...@chromium.org>
Gerrit-Comment-Date: Thu, 23 Oct 2025 13:01:11 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Olivier Flückiger (Gerrit)

unread,
Oct 23, 2025, 10:00:36 AM (3 days ago) Oct 23
to Leszek Swirski, Andreas Haas, V8 LUCI CQ, cbruni...@chromium.org, v8-re...@googlegroups.com
Attention needed from Leszek Swirski

Olivier Flückiger added 2 comments

Patchset-level comments
File-level comment, Patchset 2 (Latest):
Olivier Flückiger . resolved

lgtm, very neat. thanks

File include/v8-promise.h
Line 73, Patchset 2 (Latest): * This performs the PerformPromiseThen abstract operation, rather than the
Olivier Flückiger . unresolved

... performs the PerformPromiseThen abstract operation with a fresh native promise as result, ...

Open in Gerrit

Related details

Attention is currently required from:
  • Leszek Swirski
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: I0e1b1415cab4f35d63a0a30cf41d22e915fbe401
    Gerrit-Change-Number: 7079568
    Gerrit-PatchSet: 2
    Gerrit-Owner: Leszek Swirski <les...@chromium.org>
    Gerrit-Reviewer: Andreas Haas <ah...@google.com>
    Gerrit-Reviewer: Leszek Swirski <les...@chromium.org>
    Gerrit-Reviewer: Olivier Flückiger <ol...@chromium.org>
    Gerrit-Attention: Leszek Swirski <les...@chromium.org>
    Gerrit-Comment-Date: Thu, 23 Oct 2025 14:00:29 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Olivier Flückiger (Gerrit)

    unread,
    Oct 23, 2025, 10:00:41 AM (3 days ago) Oct 23
    to Leszek Swirski, Andreas Haas, V8 LUCI CQ, cbruni...@chromium.org, v8-re...@googlegroups.com
    Attention needed from Leszek Swirski

    Olivier Flückiger voted Code-Review+1

    Code-Review+1
    Open in Gerrit

    Related details

    Attention is currently required from:
    • Leszek Swirski
    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: I0e1b1415cab4f35d63a0a30cf41d22e915fbe401
    Gerrit-Change-Number: 7079568
    Gerrit-PatchSet: 2
    Gerrit-Owner: Leszek Swirski <les...@chromium.org>
    Gerrit-Reviewer: Andreas Haas <ah...@google.com>
    Gerrit-Reviewer: Leszek Swirski <les...@chromium.org>
    Gerrit-Reviewer: Olivier Flückiger <ol...@chromium.org>
    Gerrit-Attention: Leszek Swirski <les...@chromium.org>
    Gerrit-Comment-Date: Thu, 23 Oct 2025 14:00:35 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Leszek Swirski (Gerrit)

    unread,
    Oct 23, 2025, 10:26:11 AM (3 days ago) Oct 23
    to Olivier Flückiger, Andreas Haas, V8 LUCI CQ, cbruni...@chromium.org, v8-re...@googlegroups.com

    Leszek Swirski voted and added 2 comments

    Votes added by Leszek Swirski

    Commit-Queue+2

    2 comments

    Patchset-level comments
    File-level comment, Patchset 3 (Latest):
    Leszek Swirski . resolved

    thanks!

    File include/v8-promise.h
    Line 73, Patchset 2: * This performs the PerformPromiseThen abstract operation, rather than the
    Olivier Flückiger . resolved

    ... performs the PerformPromiseThen abstract operation with a fresh native promise as result, ...

    Leszek Swirski

    Done

    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: I0e1b1415cab4f35d63a0a30cf41d22e915fbe401
      Gerrit-Change-Number: 7079568
      Gerrit-PatchSet: 3
      Gerrit-Owner: Leszek Swirski <les...@chromium.org>
      Gerrit-Reviewer: Andreas Haas <ah...@google.com>
      Gerrit-Reviewer: Leszek Swirski <les...@chromium.org>
      Gerrit-Reviewer: Olivier Flückiger <ol...@chromium.org>
      Gerrit-Comment-Date: Thu, 23 Oct 2025 14:26:07 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: Yes
      Comment-In-Reply-To: Olivier Flückiger <ol...@chromium.org>
      satisfied_requirement
      open
      diffy

      Leszek Swirski (Gerrit)

      unread,
      Oct 24, 2025, 6:48:40 AM (2 days ago) Oct 24
      to Olivier Flückiger, Andreas Haas, V8 LUCI CQ, cbruni...@chromium.org, v8-re...@googlegroups.com

      Leszek Swirski 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: I0e1b1415cab4f35d63a0a30cf41d22e915fbe401
      Gerrit-Change-Number: 7079568
      Gerrit-PatchSet: 3
      Gerrit-Owner: Leszek Swirski <les...@chromium.org>
      Gerrit-Reviewer: Andreas Haas <ah...@google.com>
      Gerrit-Reviewer: Leszek Swirski <les...@chromium.org>
      Gerrit-Reviewer: Olivier Flückiger <ol...@chromium.org>
      Gerrit-Comment-Date: Fri, 24 Oct 2025 10:48:34 +0000
      Gerrit-HasComments: No
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      open
      diffy

      Leszek Swirski (Gerrit)

      unread,
      Oct 24, 2025, 9:34:52 AM (2 days ago) Oct 24
      to Olivier Flückiger, Andreas Haas, V8 LUCI CQ, cbruni...@chromium.org, v8-re...@googlegroups.com

      Leszek Swirski 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: I0e1b1415cab4f35d63a0a30cf41d22e915fbe401
      Gerrit-Change-Number: 7079568
      Gerrit-PatchSet: 4
      Gerrit-Owner: Leszek Swirski <les...@chromium.org>
      Gerrit-Reviewer: Andreas Haas <ah...@google.com>
      Gerrit-Reviewer: Leszek Swirski <les...@chromium.org>
      Gerrit-Reviewer: Olivier Flückiger <ol...@chromium.org>
      Gerrit-Comment-Date: Fri, 24 Oct 2025 13:34:48 +0000
      Gerrit-HasComments: No
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      open
      diffy
      Reply all
      Reply to author
      Forward
      0 new messages