[M144-LTS] blink: Make HeapBarrierCallback thread-safe by default [chromium/src : refs/branch-heads/7559]

0 views
Skip to first unread message

Gyuyoung Kim (xWF) (Gerrit)

unread,
May 28, 2026, 2:27:58 AM (3 days ago) May 28
to Eugene Zemtsov, Nate Chapin, Fahad Mansoor, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, Kentaro Hara, kouhe...@chromium.org, blink-...@chromium.org, oilpan-rev...@chromium.org, kinuko...@chromium.org
Attention needed from Eugene Zemtsov, Fahad Mansoor and Nate Chapin

Gyuyoung Kim (xWF) added 1 comment

Patchset-level comments
File-level comment, Patchset 1 (Latest):
Gyuyoung Kim (xWF) . resolved

The bug was approved for M144 LTS. PTAL.

Open in Gerrit

Related details

Attention is currently required from:
  • Eugene Zemtsov
  • Fahad Mansoor
  • Nate Chapin
Submit Requirements:
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedLint
  • 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: chromium/src
Gerrit-Branch: refs/branch-heads/7559
Gerrit-Change-Id: I44930a8d0d742a6194c6380c7b94abc8cf03dab7
Gerrit-Change-Number: 7874231
Gerrit-PatchSet: 1
Gerrit-Owner: Gyuyoung Kim (xWF) <qk...@google.com>
Gerrit-Reviewer: Eugene Zemtsov <eug...@chromium.org>
Gerrit-Reviewer: Fahad Mansoor <fahadm...@google.com>
Gerrit-Reviewer: Gyuyoung Kim (xWF) <qk...@google.com>
Gerrit-Reviewer: Nate Chapin <jap...@chromium.org>
Gerrit-CC: Kentaro Hara <har...@chromium.org>
Gerrit-Attention: Eugene Zemtsov <eug...@chromium.org>
Gerrit-Attention: Fahad Mansoor <fahadm...@google.com>
Gerrit-Attention: Nate Chapin <jap...@chromium.org>
Gerrit-Comment-Date: Thu, 28 May 2026 06:27:28 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
unsatisfied_requirement
open
diffy

Fahad Mansoor (Gerrit)

unread,
May 28, 2026, 3:01:00 AM (3 days ago) May 28
to Gyuyoung Kim (xWF), Eugene Zemtsov, Nate Chapin, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, Kentaro Hara, kouhe...@chromium.org, blink-...@chromium.org, oilpan-rev...@chromium.org, kinuko...@chromium.org
Attention needed from Eugene Zemtsov, Gyuyoung Kim (xWF) and Nate Chapin

Fahad Mansoor voted and added 1 comment

Votes added by Fahad Mansoor

Code-Review+1

1 comment

Patchset-level comments
Fahad Mansoor . resolved

LTS Sherriff LGTM

Open in Gerrit

Related details

Attention is currently required from:
  • Eugene Zemtsov
  • Gyuyoung Kim (xWF)
  • Nate Chapin
Submit Requirements:
    • requirement is not satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedLint
    • requirement satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: refs/branch-heads/7559
    Gerrit-Change-Id: I44930a8d0d742a6194c6380c7b94abc8cf03dab7
    Gerrit-Change-Number: 7874231
    Gerrit-PatchSet: 1
    Gerrit-Owner: Gyuyoung Kim (xWF) <qk...@google.com>
    Gerrit-Reviewer: Eugene Zemtsov <eug...@chromium.org>
    Gerrit-Reviewer: Fahad Mansoor <fahadm...@google.com>
    Gerrit-Reviewer: Gyuyoung Kim (xWF) <qk...@google.com>
    Gerrit-Reviewer: Nate Chapin <jap...@chromium.org>
    Gerrit-CC: Kentaro Hara <har...@chromium.org>
    Gerrit-Attention: Gyuyoung Kim (xWF) <qk...@google.com>
    Gerrit-Attention: Eugene Zemtsov <eug...@chromium.org>
    Gerrit-Attention: Nate Chapin <jap...@chromium.org>
    Gerrit-Comment-Date: Thu, 28 May 2026 07:00:39 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    unsatisfied_requirement
    satisfied_requirement
    open
    diffy

    Nate Chapin (Gerrit)

    unread,
    May 28, 2026, 1:37:00 PM (3 days ago) May 28
    to Gyuyoung Kim (xWF), Eugene Zemtsov, Fahad Mansoor, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, Kentaro Hara, kouhe...@chromium.org, blink-...@chromium.org, oilpan-rev...@chromium.org, kinuko...@chromium.org
    Attention needed from Eugene Zemtsov and Gyuyoung Kim (xWF)

    Nate Chapin voted Code-Review+1

    Code-Review+1
    Open in Gerrit

    Related details

    Attention is currently required from:
    • Eugene Zemtsov
    • Gyuyoung Kim (xWF)
    Submit Requirements:
    • requirement satisfiedCode-Owners
    • requirement satisfiedCode-Review
    • requirement is not satisfiedLint
    • requirement satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: refs/branch-heads/7559
    Gerrit-Change-Id: I44930a8d0d742a6194c6380c7b94abc8cf03dab7
    Gerrit-Change-Number: 7874231
    Gerrit-PatchSet: 1
    Gerrit-Owner: Gyuyoung Kim (xWF) <qk...@google.com>
    Gerrit-Reviewer: Eugene Zemtsov <eug...@chromium.org>
    Gerrit-Reviewer: Fahad Mansoor <fahadm...@google.com>
    Gerrit-Reviewer: Gyuyoung Kim (xWF) <qk...@google.com>
    Gerrit-Reviewer: Nate Chapin <jap...@chromium.org>
    Gerrit-CC: Kentaro Hara <har...@chromium.org>
    Gerrit-Attention: Gyuyoung Kim (xWF) <qk...@google.com>
    Gerrit-Attention: Eugene Zemtsov <eug...@chromium.org>
    Gerrit-Comment-Date: Thu, 28 May 2026 17:36:46 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Gyuyoung Kim (xWF) (Gerrit)

    unread,
    May 28, 2026, 10:31:21 PM (2 days ago) May 28
    to Eugene Zemtsov, Nate Chapin, Fahad Mansoor, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, Kentaro Hara, kouhe...@chromium.org, blink-...@chromium.org, oilpan-rev...@chromium.org, kinuko...@chromium.org
    Attention needed from Eugene Zemtsov and Gyuyoung Kim (xWF)

    Gyuyoung Kim (xWF) removed a vote from this change

    Related details

    Attention is currently required from:
    • Eugene Zemtsov
    • Gyuyoung Kim (xWF)
    Submit Requirements:
      • requirement satisfiedCode-Owners
      • requirement satisfiedCode-Review
      • requirement satisfiedLint
      • requirement satisfiedReview-Enforcement
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: deleteVote
      satisfied_requirement
      open
      diffy

      Gyuyoung Kim (xWF) (Gerrit)

      unread,
      May 28, 2026, 10:31:38 PM (2 days ago) May 28
      to Eugene Zemtsov, Nate Chapin, Fahad Mansoor, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, Kentaro Hara, kouhe...@chromium.org, blink-...@chromium.org, oilpan-rev...@chromium.org, kinuko...@chromium.org
      Attention needed from Eugene Zemtsov

      Gyuyoung Kim (xWF) voted Commit-Queue+2

      Commit-Queue+2
      Open in Gerrit

      Related details

      Attention is currently required from:
      • Eugene Zemtsov
      Submit Requirements:
      • requirement satisfiedCode-Owners
      • requirement satisfiedCode-Review
      • requirement satisfiedLint
      • requirement satisfiedReview-Enforcement
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: chromium/src
      Gerrit-Branch: refs/branch-heads/7559
      Gerrit-Change-Id: I44930a8d0d742a6194c6380c7b94abc8cf03dab7
      Gerrit-Change-Number: 7874231
      Gerrit-PatchSet: 1
      Gerrit-Owner: Gyuyoung Kim (xWF) <qk...@google.com>
      Gerrit-Reviewer: Eugene Zemtsov <eug...@chromium.org>
      Gerrit-Reviewer: Fahad Mansoor <fahadm...@google.com>
      Gerrit-Reviewer: Gyuyoung Kim (xWF) <qk...@google.com>
      Gerrit-Reviewer: Nate Chapin <jap...@chromium.org>
      Gerrit-CC: Kentaro Hara <har...@chromium.org>
      Gerrit-Attention: Eugene Zemtsov <eug...@chromium.org>
      Gerrit-Comment-Date: Fri, 29 May 2026 02:31:12 +0000
      Gerrit-HasComments: No
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      open
      diffy

      Chromium LUCI CQ (Gerrit)

      unread,
      May 29, 2026, 12:25:59 AM (2 days ago) May 29
      to Gyuyoung Kim (xWF), Eugene Zemtsov, Nate Chapin, Fahad Mansoor, android-bu...@system.gserviceaccount.com, Kentaro Hara, kouhe...@chromium.org, blink-...@chromium.org, oilpan-rev...@chromium.org, kinuko...@chromium.org

      Chromium LUCI CQ submitted the change

      Change information

      Commit message:
      [M144-LTS] blink: Make HeapBarrierCallback thread-safe by default

      HeapBarrierCallback was using Persistent to store aggregated results.
      Since Persistent handles are thread-affine, destroying or clearing them
      on another thread (e.g. when a PostTask fails due to worker thread
      shutdown) results in free-list corruption of the calling thread's
      PersistentRegion.

      This change replaces Persistent with UnwrappingCrossThreadHandle to
      ensure safe cross-thread destruction while strictly enforcing that the
      underlying vector is only dereferenced on its creation thread,
      preventing data races.

      (cherry picked from commit 6fd20a57fccfaf70f2b472c7f1246033011af527)
      Bug: 514715455
      Change-Id: I44930a8d0d742a6194c6380c7b94abc8cf03dab7
      Reviewed-by: Nate Chapin <jap...@chromium.org>
      Commit-Queue: Eugene Zemtsov <eug...@chromium.org>
      Cr-Original-Commit-Position: refs/heads/main@{#1633752}
      Reviewed-by: Fahad Mansoor <fahadm...@google.com>
      Commit-Queue: Gyuyoung Kim (xWF) <qk...@google.com>
      Cr-Commit-Position: refs/branch-heads/7559@{#4914}
      Cr-Branched-From: 223dfbac1c7542a06b422390d954afe5b560b607-refs/heads/main@{#1552494}
      Files:
      • M third_party/blink/renderer/platform/heap/heap_barrier_callback.h
      Change size: S
      Delta: 1 file changed, 7 insertions(+), 5 deletions(-)
      Branch: refs/branch-heads/7559
      Submit Requirements:
      Open in Gerrit
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: merged
      Gerrit-Project: chromium/src
      Gerrit-Branch: refs/branch-heads/7559
      Gerrit-Change-Id: I44930a8d0d742a6194c6380c7b94abc8cf03dab7
      Gerrit-Change-Number: 7874231
      Gerrit-PatchSet: 2
      Gerrit-Owner: Gyuyoung Kim (xWF) <qk...@google.com>
      Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
      Gerrit-Reviewer: Eugene Zemtsov <eug...@chromium.org>
      Gerrit-Reviewer: Fahad Mansoor <fahadm...@google.com>
      Gerrit-Reviewer: Gyuyoung Kim (xWF) <qk...@google.com>
      Gerrit-Reviewer: Nate Chapin <jap...@chromium.org>
      Gerrit-CC: Kentaro Hara <har...@chromium.org>
      open
      diffy
      satisfied_requirement
      Reply all
      Reply to author
      Forward
      0 new messages