[M140] heap: Fix inconsistencies in HeapObserverList [chromium/src : refs/branch-heads/7339]

0 views
Skip to first unread message

Rubber Stamper (Gerrit)

unread,
Aug 20, 2025, 5:01:17 PMAug 20
to Chrome Cherry Picker, Michael Lippautz, Kentaro Hara, AyeAye, oilpan-rev...@chromium.org, kouhe...@chromium.org, kinuko...@chromium.org, blink-...@chromium.org

Rubber Stamper voted

Bot-Commit+1
Commit-Queue+2
Open in Gerrit

Related details

Attention set is empty
Submit Requirements:
  • requirement satisfiedCode-Owners
  • requirement satisfiedCode-Review
  • requirement satisfiedLint
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/7339
Gerrit-Change-Id: I6731ad38e96f01a47258bc8f8f5a0b1b41e736a3
Gerrit-Change-Number: 6867493
Gerrit-PatchSet: 2
Gerrit-Reviewer: Chrome Cherry Picker <chrome-che...@chops-service-accounts.iam.gserviceaccount.com>
Gerrit-Reviewer: Rubber Stamper <rubber-...@appspot.gserviceaccount.com>
Gerrit-CC: Kentaro Hara <har...@chromium.org>
Gerrit-CC: Michael Lippautz <mlip...@chromium.org>
Gerrit-Comment-Date: Wed, 20 Aug 2025 21:01:09 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Chromium LUCI CQ (Gerrit)

unread,
Aug 20, 2025, 6:27:19 PMAug 20
to Chrome Cherry Picker, Michael Lippautz, Rubber Stamper, Kentaro Hara, AyeAye, oilpan-rev...@chromium.org, kouhe...@chromium.org, kinuko...@chromium.org, blink-...@chromium.org

Chromium LUCI CQ submitted the change

Change information

Commit message:
[M140] heap: Fix inconsistencies in HeapObserverList

Original change's description:
> heap: Fix inconsistencies in HeapObserverList
>
> The observer list is both weak (implicitly managed) and allows for
> removing observers. If observers are removed while at the same time
> multiple other observers die, and the removal call triggers GC, this may
> lead to CHECK() failures where the index retrieved on `RemoveObserver`
> is too large for the `observers_` array.
>
> Bug: 438569732, 438916130
> Change-Id: I6731ad38e96f01a47258bc8f8f5a0b1b41e736a3
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6859882
> Commit-Queue: Michael Lippautz <mlip...@chromium.org>
> Reviewed-by: Anton Bikineev <biki...@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#1503316}
Bug: 440101815,438569732,438916130
Change-Id: I6731ad38e96f01a47258bc8f8f5a0b1b41e736a3
Bot-Commit: Rubber Stamper <rubber-...@appspot.gserviceaccount.com>
Commit-Queue: Rubber Stamper <rubber-...@appspot.gserviceaccount.com>
Cr-Commit-Position: refs/branch-heads/7339@{#999}
Cr-Branched-From: 27be8b77710f4405fdfeb4ee946fcabb0f6c92b2-refs/heads/main@{#1496484}
Files:
  • M third_party/blink/renderer/platform/heap_observer_list.h
Change size: S
Delta: 1 file changed, 11 insertions(+), 5 deletions(-)
Branch: refs/branch-heads/7339
Submit Requirements:
  • requirement satisfiedCode-Review: Bot-Commit+1 by Rubber Stamper
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/7339
Gerrit-Change-Id: I6731ad38e96f01a47258bc8f8f5a0b1b41e736a3
Gerrit-Change-Number: 6867493
Gerrit-PatchSet: 3
Gerrit-Reviewer: Chrome Cherry Picker <chrome-che...@chops-service-accounts.iam.gserviceaccount.com>
Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
open
diffy
satisfied_requirement
Reply all
Reply to author
Forward
0 new messages