Use std::map from MSVC STL for EphemeronRememberedSet [v8/v8 : main]

0 views
Skip to first unread message

Joyee Cheung (Gerrit)

unread,
May 22, 2025, 11:19:23 AMMay 22
to Leszek Swirski, Hannes Payer, mlippau...@chromium.org, v8-re...@googlegroups.com
Attention needed from Leszek Swirski

Joyee Cheung voted and added 1 comment

Votes added by Joyee Cheung

Commit-Queue+1

1 comment

Patchset-level comments
File-level comment, Patchset 1 (Latest):
Joyee Cheung . resolved

Hi, as discussed in Slack I am trying to see if this patch is acceptable in the upstream to reduce the churn of V8 upgrades in Node.js. We have an issue discussing whether we can switch to libc++ on Windows but I think it will take quite some effort to make that happen https://github.com/nodejs/node/issues/58123 - so for now we'd have to float this patch in Node.js to prevent the bug in MSVC STL from crashing V8.

Open in Gerrit

Related details

Attention is currently required from:
  • Leszek Swirski
Submit Requirements:
  • 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: Ibcced0bd687a58bcc4c2ed8df93b264485101dba
Gerrit-Change-Number: 6580015
Gerrit-PatchSet: 1
Gerrit-Owner: Joyee Cheung <jo...@igalia.com>
Gerrit-Reviewer: Joyee Cheung <jo...@igalia.com>
Gerrit-Reviewer: Leszek Swirski <les...@chromium.org>
Gerrit-CC: Hannes Payer <hpa...@chromium.org>
Gerrit-Attention: Leszek Swirski <les...@chromium.org>
Gerrit-Comment-Date: Thu, 22 May 2025 15:19:19 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
unsatisfied_requirement
open
diffy

Leszek Swirski (Gerrit)

unread,
May 22, 2025, 11:50:40 AMMay 22
to Joyee Cheung, Michael Lippautz, V8 LUCI CQ, Hannes Payer, mlippau...@chromium.org, v8-re...@googlegroups.com
Attention needed from Joyee Cheung and Michael Lippautz

Leszek Swirski added 1 comment

Patchset-level comments
Joyee Cheung . resolved

Hi, as discussed in Slack I am trying to see if this patch is acceptable in the upstream to reduce the churn of V8 upgrades in Node.js. We have an issue discussing whether we can switch to libc++ on Windows but I think it will take quite some effort to make that happen https://github.com/nodejs/node/issues/58123 - so for now we'd have to float this patch in Node.js to prevent the bug in MSVC STL from crashing V8.

Leszek Swirski

As I said on slack, normally we'd avoid this sort of thing but since this is small and localised, I'm inclined to make an exception and accept it. I'll hand over to Michael as a code owner for the final call though.

Open in Gerrit

Related details

Attention is currently required from:
  • Joyee Cheung
  • Michael Lippautz
Submit Requirements:
  • 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: Ibcced0bd687a58bcc4c2ed8df93b264485101dba
Gerrit-Change-Number: 6580015
Gerrit-PatchSet: 1
Gerrit-Owner: Joyee Cheung <jo...@igalia.com>
Gerrit-Reviewer: Joyee Cheung <jo...@igalia.com>
Gerrit-Reviewer: Leszek Swirski <les...@chromium.org>
Gerrit-Reviewer: Michael Lippautz <mlip...@chromium.org>
Gerrit-CC: Hannes Payer <hpa...@chromium.org>
Gerrit-Attention: Michael Lippautz <mlip...@chromium.org>
Gerrit-Attention: Joyee Cheung <jo...@igalia.com>
Gerrit-Comment-Date: Thu, 22 May 2025 15:50:35 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Joyee Cheung <jo...@igalia.com>
unsatisfied_requirement
open
diffy

Leszek Swirski (Gerrit)

unread,
May 22, 2025, 11:51:16 AMMay 22
to Joyee Cheung, Michael Lippautz, V8 LUCI CQ, Hannes Payer, mlippau...@chromium.org, v8-re...@googlegroups.com
Attention needed from Joyee Cheung and Michael Lippautz

Leszek Swirski added 1 comment

File src/heap/ephemeron-remembered-set.h
Line 33, Patchset 1 (Latest):// Work around it by using a std::map instead.
Leszek Swirski . unresolved

please file a bug which links to the node issue, and add a TODO to remove this workaround when Node uses libc++

Open in Gerrit

Related details

Attention is currently required from:
  • Joyee Cheung
  • Michael Lippautz
Submit Requirements:
    • 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: Ibcced0bd687a58bcc4c2ed8df93b264485101dba
    Gerrit-Change-Number: 6580015
    Gerrit-PatchSet: 1
    Gerrit-Owner: Joyee Cheung <jo...@igalia.com>
    Gerrit-Reviewer: Joyee Cheung <jo...@igalia.com>
    Gerrit-Reviewer: Leszek Swirski <les...@chromium.org>
    Gerrit-Reviewer: Michael Lippautz <mlip...@chromium.org>
    Gerrit-CC: Hannes Payer <hpa...@chromium.org>
    Gerrit-Attention: Michael Lippautz <mlip...@chromium.org>
    Gerrit-Attention: Joyee Cheung <jo...@igalia.com>
    Gerrit-Comment-Date: Thu, 22 May 2025 15:51:10 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    unsatisfied_requirement
    open
    diffy

    Joyee Cheung (Gerrit)

    unread,
    Dec 15, 2025, 12:19:07 PM (20 hours ago) Dec 15
    to Michael Lippautz, V8 LUCI CQ, Leszek Swirski, Hannes Payer, mlippau...@chromium.org, v8-re...@googlegroups.com
    Attention needed from Leszek Swirski and Michael Lippautz

    Joyee Cheung added 2 comments

    Patchset-level comments
    File-level comment, Patchset 3 (Latest):
    Joyee Cheung . resolved

    Hi, sorry that I haven't found the time to take care of this patch. I noticed that Node.js has been floating this patch for a couple of V8 updates, so getting back to it now. I understand that it may not be accepted in principal, but since this is small enough it might be worth an exception? It would be nice to keep it in the upstream and reduce the number of floated patches in Node.js.

    File src/heap/ephemeron-remembered-set.h
    Line 33, Patchset 1:// Work around it by using a std::map instead.
    Leszek Swirski . resolved

    please file a bug which links to the node issue, and add a TODO to remove this workaround when Node uses libc++

    Joyee Cheung
    Open in Gerrit

    Related details

    Attention is currently required from:
    • Leszek Swirski
    • Michael Lippautz
    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: Ibcced0bd687a58bcc4c2ed8df93b264485101dba
    Gerrit-Change-Number: 6580015
    Gerrit-PatchSet: 3
    Gerrit-Owner: Joyee Cheung <jo...@igalia.com>
    Gerrit-Reviewer: Joyee Cheung <jo...@igalia.com>
    Gerrit-Reviewer: Leszek Swirski <les...@chromium.org>
    Gerrit-Reviewer: Michael Lippautz <mlip...@chromium.org>
    Gerrit-CC: Hannes Payer <hpa...@chromium.org>
    Gerrit-Attention: Michael Lippautz <mlip...@chromium.org>
    Gerrit-Attention: Leszek Swirski <les...@chromium.org>
    Gerrit-Comment-Date: Mon, 15 Dec 2025 17:19:01 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Leszek Swirski <les...@chromium.org>
    unsatisfied_requirement
    open
    diffy
    Reply all
    Reply to author
    Forward
    0 new messages