[Blink] Introduce active iterator tracking for HeapVector [chromium/src : main]

0 views
Skip to first unread message

Keishi Hattori (Gerrit)

unread,
May 12, 2026, 9:41:55 PMMay 12
to Kent Tamura, Stephen Chenney, Dirk Schulze, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, Kentaro Hara, blink-reviews-p...@chromium.org, fserb...@chromium.org, fmalit...@chromium.org, drott+bl...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, kouhe...@chromium.org, oilpan-rev...@chromium.org
Attention needed from Kent Tamura

Keishi Hattori added 1 comment

Patchset-level comments
File-level comment, Patchset 15 (Latest):
Keishi Hattori . resolved

PTAL

Open in Gerrit

Related details

Attention is currently required from:
  • Kent Tamura
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • 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: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I5af336e8e1ca0692e781a5dbe4fc1d047a28f8c0
Gerrit-Change-Number: 7838780
Gerrit-PatchSet: 15
Gerrit-Owner: Keishi Hattori <kei...@chromium.org>
Gerrit-Reviewer: Keishi Hattori <kei...@chromium.org>
Gerrit-Reviewer: Kent Tamura <tk...@chromium.org>
Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
Gerrit-CC: Kentaro Hara <har...@chromium.org>
Gerrit-CC: Stephen Chenney <sche...@chromium.org>
Gerrit-Attention: Kent Tamura <tk...@chromium.org>
Gerrit-Comment-Date: Wed, 13 May 2026 01:41:25 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Kent Tamura (Gerrit)

unread,
May 12, 2026, 9:57:59 PMMay 12
to Keishi Hattori, Kent Tamura, Stephen Chenney, Dirk Schulze, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, Kentaro Hara, blink-reviews-p...@chromium.org, fserb...@chromium.org, fmalit...@chromium.org, drott+bl...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, kouhe...@chromium.org, oilpan-rev...@chromium.org
Attention needed from Keishi Hattori

Kent Tamura voted and added 1 comment

Votes added by Kent Tamura

Code-Review+1

1 comment

File third_party/blink/renderer/platform/wtf/BUILD.gn
Line 16, Patchset 15 (Latest): # Enable active iterator counting in WTF::HeapVector to detect use-after-free.
Kent Tamura . unresolved

nit: `WTF::` -> `blink::`

Open in Gerrit

Related details

Attention is currently required from:
  • Keishi Hattori
Submit Requirements:
    • requirement satisfiedCode-Coverage
    • 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: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I5af336e8e1ca0692e781a5dbe4fc1d047a28f8c0
    Gerrit-Change-Number: 7838780
    Gerrit-PatchSet: 15
    Gerrit-Owner: Keishi Hattori <kei...@chromium.org>
    Gerrit-Reviewer: Keishi Hattori <kei...@chromium.org>
    Gerrit-Reviewer: Kent Tamura <tk...@chromium.org>
    Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
    Gerrit-CC: Kentaro Hara <har...@chromium.org>
    Gerrit-CC: Stephen Chenney <sche...@chromium.org>
    Gerrit-Attention: Keishi Hattori <kei...@chromium.org>
    Gerrit-Comment-Date: Wed, 13 May 2026 01:57:25 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Michael Lippautz (Gerrit)

    unread,
    May 13, 2026, 3:23:15 AMMay 13
    to Keishi Hattori, Kent Tamura, Stephen Chenney, Dirk Schulze, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, Kentaro Hara, blink-reviews-p...@chromium.org, fserb...@chromium.org, fmalit...@chromium.org, drott+bl...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, kouhe...@chromium.org, oilpan-rev...@chromium.org
    Attention needed from Keishi Hattori

    Michael Lippautz added 2 comments

    Patchset-level comments
    File-level comment, Patchset 17 (Latest):
    Michael Lippautz . resolved

    Can you check at least Speedometer3 for regressions? We want to know what the cost here is.

    File third_party/blink/renderer/platform/wtf/vector.h
    Line 68, Patchset 17 (Latest):#if BUILDFLAG(ENABLE_HEAP_VECTOR_ACTIVE_ITERATOR_CHECKS)
    Michael Lippautz . unresolved

    Why only HeapVector? Is this the most pressing issue?

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Keishi Hattori
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • 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: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I5af336e8e1ca0692e781a5dbe4fc1d047a28f8c0
    Gerrit-Change-Number: 7838780
    Gerrit-PatchSet: 17
    Gerrit-Owner: Keishi Hattori <kei...@chromium.org>
    Gerrit-Reviewer: Keishi Hattori <kei...@chromium.org>
    Gerrit-Reviewer: Kent Tamura <tk...@chromium.org>
    Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
    Gerrit-CC: Kentaro Hara <har...@chromium.org>
    Gerrit-CC: Michael Lippautz <mlip...@chromium.org>
    Gerrit-Comment-Date: Wed, 13 May 2026 07:22:54 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Keishi Hattori (Gerrit)

    unread,
    May 13, 2026, 3:48:26 AMMay 13
    to Michael Lippautz, Kent Tamura, Stephen Chenney, Dirk Schulze, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, Kentaro Hara, blink-reviews-p...@chromium.org, fserb...@chromium.org, fmalit...@chromium.org, drott+bl...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, kouhe...@chromium.org, oilpan-rev...@chromium.org
    Attention needed from Michael Lippautz

    Keishi Hattori added 3 comments

    Patchset-level comments
    Michael Lippautz . resolved

    Can you check at least Speedometer3 for regressions? We want to know what the cost here is.

    Keishi Hattori

    I already ran it and it is quite heavy so I don't plan to ship it as is.
    I just want to try enabling it for one Canary release to get the accurate performance cost with PGO.
    https://pinpoint-dot-chromeperf.appspot.com/job/1395deab890000

    File third_party/blink/renderer/platform/wtf/BUILD.gn
    Line 16, Patchset 15: # Enable active iterator counting in WTF::HeapVector to detect use-after-free.
    Kent Tamura . resolved

    nit: `WTF::` -> `blink::`

    Keishi Hattori

    Done

    File third_party/blink/renderer/platform/wtf/vector.h
    Line 68, Patchset 17 (Latest):#if BUILDFLAG(ENABLE_HEAP_VECTOR_ACTIVE_ITERATOR_CHECKS)
    Michael Lippautz . resolved

    Why only HeapVector? Is this the most pressing issue?

    Keishi Hattori

    My plan is to tackle non-HeapVector with BRP ref counting.
    https://chromium-review.git.corp.google.com/c/chromium/src/+/7843993

    I did see bugs involving HeapVector so I think we should try to cover it.
    https://b.corp.google.com/issues/497830330

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Michael Lippautz
    Submit Requirements:
      • requirement satisfiedCode-Coverage
      • 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: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I5af336e8e1ca0692e781a5dbe4fc1d047a28f8c0
      Gerrit-Change-Number: 7838780
      Gerrit-PatchSet: 17
      Gerrit-Owner: Keishi Hattori <kei...@chromium.org>
      Gerrit-Reviewer: Keishi Hattori <kei...@chromium.org>
      Gerrit-Reviewer: Kent Tamura <tk...@chromium.org>
      Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
      Gerrit-CC: Kentaro Hara <har...@chromium.org>
      Gerrit-CC: Michael Lippautz <mlip...@chromium.org>
      Gerrit-CC: Stephen Chenney <sche...@chromium.org>
      Gerrit-Attention: Michael Lippautz <mlip...@chromium.org>
      Gerrit-Comment-Date: Wed, 13 May 2026 07:47:53 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      Comment-In-Reply-To: Michael Lippautz <mlip...@chromium.org>
      Comment-In-Reply-To: Kent Tamura <tk...@chromium.org>
      satisfied_requirement
      open
      diffy

      Michael Lippautz (Gerrit)

      unread,
      May 13, 2026, 4:14:23 AMMay 13
      to Keishi Hattori, Kent Tamura, Stephen Chenney, Dirk Schulze, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, Kentaro Hara, blink-reviews-p...@chromium.org, fserb...@chromium.org, fmalit...@chromium.org, drott+bl...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, kouhe...@chromium.org, oilpan-rev...@chromium.org
      Attention needed from Keishi Hattori

      Michael Lippautz added 1 comment

      Patchset-level comments
      Michael Lippautz . resolved

      Can you check at least Speedometer3 for regressions? We want to know what the cost here is.

      Keishi Hattori

      I already ran it and it is quite heavy so I don't plan to ship it as is.
      I just want to try enabling it for one Canary release to get the accurate performance cost with PGO.
      https://pinpoint-dot-chromeperf.appspot.com/job/1395deab890000

      Michael Lippautz

      That's indeed very heavy for a mitigationg for a single bug class.

      (a) Iterator outlives the vector and the vector is completetly gone.
      (b) Iterator invalidates because of a modification that re-allocates the backing.

      Are both (a) and (b) the problems, or are we only talking about a single bug class mostly.

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Keishi Hattori
      Submit Requirements:
      • requirement satisfiedCode-Coverage
      • 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: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I5af336e8e1ca0692e781a5dbe4fc1d047a28f8c0
      Gerrit-Change-Number: 7838780
      Gerrit-PatchSet: 17
      Gerrit-Owner: Keishi Hattori <kei...@chromium.org>
      Gerrit-Reviewer: Keishi Hattori <kei...@chromium.org>
      Gerrit-Reviewer: Kent Tamura <tk...@chromium.org>
      Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
      Gerrit-CC: Kentaro Hara <har...@chromium.org>
      Gerrit-CC: Michael Lippautz <mlip...@chromium.org>
      Gerrit-CC: Stephen Chenney <sche...@chromium.org>
      Gerrit-Attention: Keishi Hattori <kei...@chromium.org>
      Gerrit-Comment-Date: Wed, 13 May 2026 08:14:08 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      Comment-In-Reply-To: Michael Lippautz <mlip...@chromium.org>
      Comment-In-Reply-To: Keishi Hattori <kei...@chromium.org>
      satisfied_requirement
      open
      diffy

      Keishi Hattori (Gerrit)

      unread,
      May 14, 2026, 12:23:20 AMMay 14
      to Michael Lippautz, Kent Tamura, Stephen Chenney, Dirk Schulze, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, Kentaro Hara, blink-reviews-p...@chromium.org, fserb...@chromium.org, fmalit...@chromium.org, drott+bl...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, kouhe...@chromium.org, oilpan-rev...@chromium.org
      Attention needed from Michael Lippautz

      Keishi Hattori added 1 comment

      Patchset-level comments
      Michael Lippautz . resolved

      Can you check at least Speedometer3 for regressions? We want to know what the cost here is.

      Keishi Hattori

      I already ran it and it is quite heavy so I don't plan to ship it as is.
      I just want to try enabling it for one Canary release to get the accurate performance cost with PGO.
      https://pinpoint-dot-chromeperf.appspot.com/job/1395deab890000

      Michael Lippautz

      That's indeed very heavy for a mitigationg for a single bug class.

      (a) Iterator outlives the vector and the vector is completetly gone.
      (b) Iterator invalidates because of a modification that re-allocates the backing.

      Are both (a) and (b) the problems, or are we only talking about a single bug class mostly.

      Keishi Hattori

      This protection should mitigate both.
      But my main concern is with (b) which we encountered several in Project Fortify.

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Michael Lippautz
      Submit Requirements:
      • requirement satisfiedCode-Coverage
      • 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: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I5af336e8e1ca0692e781a5dbe4fc1d047a28f8c0
      Gerrit-Change-Number: 7838780
      Gerrit-PatchSet: 17
      Gerrit-Owner: Keishi Hattori <kei...@chromium.org>
      Gerrit-Reviewer: Keishi Hattori <kei...@chromium.org>
      Gerrit-Reviewer: Kent Tamura <tk...@chromium.org>
      Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
      Gerrit-CC: Kentaro Hara <har...@chromium.org>
      Gerrit-CC: Michael Lippautz <mlip...@chromium.org>
      Gerrit-CC: Stephen Chenney <sche...@chromium.org>
      Gerrit-Attention: Michael Lippautz <mlip...@chromium.org>
      Gerrit-Comment-Date: Thu, 14 May 2026 04:23:07 +0000
      satisfied_requirement
      open
      diffy

      Keishi Hattori (Gerrit)

      unread,
      May 15, 2026, 3:10:26 AMMay 15
      to Michael Lippautz, Kent Tamura, Stephen Chenney, Dirk Schulze, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, Kentaro Hara, blink-reviews-p...@chromium.org, fserb...@chromium.org, fmalit...@chromium.org, drott+bl...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, kouhe...@chromium.org, oilpan-rev...@chromium.org
      Attention needed from Michael Lippautz

      Keishi Hattori added 1 comment

      Patchset-level comments
      Michael Lippautz . resolved

      Can you check at least Speedometer3 for regressions? We want to know what the cost here is.

      Keishi Hattori

      I already ran it and it is quite heavy so I don't plan to ship it as is.
      I just want to try enabling it for one Canary release to get the accurate performance cost with PGO.
      https://pinpoint-dot-chromeperf.appspot.com/job/1395deab890000

      Michael Lippautz

      That's indeed very heavy for a mitigationg for a single bug class.

      (a) Iterator outlives the vector and the vector is completetly gone.
      (b) Iterator invalidates because of a modification that re-allocates the backing.

      Are both (a) and (b) the problems, or are we only talking about a single bug class mostly.

      Keishi Hattori

      This protection should mitigate both.
      But my main concern is with (b) which we encountered several in Project Fortify.

      Keishi Hattori

      Would it be ok to land it like this, behind a flag, to experiment on one canary release?
      In addition to the performance data, if we can get crash reports it could help us locate the reentrancy issues.

      Gerrit-Comment-Date: Fri, 15 May 2026 07:09:51 +0000
      satisfied_requirement
      open
      diffy

      Keishi Hattori (Gerrit)

      unread,
      May 19, 2026, 2:17:10 AM (12 days ago) May 19
      to Michael Lippautz, Kent Tamura, Stephen Chenney, Dirk Schulze, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, Kentaro Hara, blink-reviews-p...@chromium.org, fserb...@chromium.org, fmalit...@chromium.org, drott+bl...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, kouhe...@chromium.org, oilpan-rev...@chromium.org
      Attention needed from Michael Lippautz

      Keishi Hattori voted and added 1 comment

      Votes added by Keishi Hattori

      Commit-Queue+2

      1 comment

      Patchset-level comments
      File-level comment, Patchset 18 (Latest):
      Keishi Hattori . resolved

      As was discussed in chat, I've added the link to the design doc, and I will land this.

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Michael Lippautz
      Submit Requirements:
      • requirement satisfiedCode-Coverage
      • 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: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I5af336e8e1ca0692e781a5dbe4fc1d047a28f8c0
      Gerrit-Change-Number: 7838780
      Gerrit-PatchSet: 18
      Gerrit-Owner: Keishi Hattori <kei...@chromium.org>
      Gerrit-Reviewer: Keishi Hattori <kei...@chromium.org>
      Gerrit-Reviewer: Kent Tamura <tk...@chromium.org>
      Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
      Gerrit-CC: Kentaro Hara <har...@chromium.org>
      Gerrit-CC: Michael Lippautz <mlip...@chromium.org>
      Gerrit-CC: Stephen Chenney <sche...@chromium.org>
      Gerrit-Attention: Michael Lippautz <mlip...@chromium.org>
      Gerrit-Comment-Date: Tue, 19 May 2026 06:16:48 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      open
      diffy

      Keishi Hattori (Gerrit)

      unread,
      May 19, 2026, 2:34:14 AM (12 days ago) May 19
      to Michael Lippautz, Kent Tamura, Stephen Chenney, Dirk Schulze, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, Kentaro Hara, blink-reviews-p...@chromium.org, fserb...@chromium.org, fmalit...@chromium.org, drott+bl...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, kouhe...@chromium.org, oilpan-rev...@chromium.org
      Attention needed from Michael Lippautz

      Keishi Hattori voted Commit-Queue+0

      Commit-Queue+0
      Gerrit-Comment-Date: Tue, 19 May 2026 06:33:47 +0000
      Gerrit-HasComments: No
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      open
      diffy

      Keishi Hattori (Gerrit)

      unread,
      May 19, 2026, 3:13:14 AM (12 days ago) May 19
      to Michael Lippautz, Kent Tamura, Stephen Chenney, Dirk Schulze, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, Kentaro Hara, wfh+...@chromium.org, lizeb...@chromium.org, lize...@chromium.org, bartek...@chromium.org, blink-reviews-p...@chromium.org, fserb...@chromium.org, fmalit...@chromium.org, drott+bl...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, kouhe...@chromium.org, oilpan-rev...@chromium.org
      Attention needed from Kent Tamura and Michael Lippautz

      Keishi Hattori added 1 comment

      Patchset-level comments
      File-level comment, Patchset 22 (Latest):
      Keishi Hattori . resolved

      I reset the CR+1 bit on this one while rebasing too. Would you take another look.

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Kent Tamura
      • Michael Lippautz
      Submit Requirements:
        • requirement satisfiedCode-Coverage
        • 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: chromium/src
        Gerrit-Branch: main
        Gerrit-Change-Id: I5af336e8e1ca0692e781a5dbe4fc1d047a28f8c0
        Gerrit-Change-Number: 7838780
        Gerrit-PatchSet: 22
        Gerrit-Owner: Keishi Hattori <kei...@chromium.org>
        Gerrit-Reviewer: Keishi Hattori <kei...@chromium.org>
        Gerrit-Reviewer: Kent Tamura <tk...@chromium.org>
        Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
        Gerrit-CC: Kentaro Hara <har...@chromium.org>
        Gerrit-CC: Michael Lippautz <mlip...@chromium.org>
        Gerrit-CC: Stephen Chenney <sche...@chromium.org>
        Gerrit-Attention: Michael Lippautz <mlip...@chromium.org>
        Gerrit-Attention: Kent Tamura <tk...@chromium.org>
        Gerrit-Comment-Date: Tue, 19 May 2026 07:12:49 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: No
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        Kent Tamura (Gerrit)

        unread,
        May 25, 2026, 12:38:10 AM (6 days ago) May 25
        to Keishi Hattori, Kent Tamura, Michael Lippautz, Stephen Chenney, Dirk Schulze, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, Kentaro Hara, wfh+...@chromium.org, lizeb...@chromium.org, lize...@chromium.org, bartek...@chromium.org, blink-reviews-p...@chromium.org, fserb...@chromium.org, fmalit...@chromium.org, drott+bl...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, kouhe...@chromium.org, oilpan-rev...@chromium.org
        Attention needed from Keishi Hattori and Michael Lippautz

        Kent Tamura voted Code-Review+1

        Code-Review+1
        Open in Gerrit

        Related details

        Attention is currently required from:
        • Keishi Hattori
        • Michael Lippautz
        Submit Requirements:
          • requirement satisfiedCode-Coverage
          • 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: chromium/src
          Gerrit-Branch: main
          Gerrit-Change-Id: I5af336e8e1ca0692e781a5dbe4fc1d047a28f8c0
          Gerrit-Change-Number: 7838780
          Gerrit-PatchSet: 22
          Gerrit-Owner: Keishi Hattori <kei...@chromium.org>
          Gerrit-Reviewer: Keishi Hattori <kei...@chromium.org>
          Gerrit-Reviewer: Kent Tamura <tk...@chromium.org>
          Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
          Gerrit-CC: Kentaro Hara <har...@chromium.org>
          Gerrit-CC: Michael Lippautz <mlip...@chromium.org>
          Gerrit-CC: Stephen Chenney <sche...@chromium.org>
          Gerrit-Attention: Michael Lippautz <mlip...@chromium.org>
          Gerrit-Attention: Keishi Hattori <kei...@chromium.org>
          Gerrit-Comment-Date: Mon, 25 May 2026 04:37:40 +0000
          Gerrit-HasComments: No
          Gerrit-Has-Labels: Yes
          satisfied_requirement
          open
          diffy

          Keishi Hattori (Gerrit)

          unread,
          May 25, 2026, 12:43:12 AM (6 days ago) May 25
          to Kent Tamura, Michael Lippautz, Stephen Chenney, Dirk Schulze, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, Kentaro Hara, wfh+...@chromium.org, lizeb...@chromium.org, lize...@chromium.org, bartek...@chromium.org, blink-reviews-p...@chromium.org, fserb...@chromium.org, fmalit...@chromium.org, drott+bl...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, kouhe...@chromium.org, oilpan-rev...@chromium.org
          Attention needed from Michael Lippautz

          Keishi Hattori voted Commit-Queue+2

          Commit-Queue+2
          Open in Gerrit

          Related details

          Attention is currently required from:
          • Michael Lippautz
          Gerrit-Comment-Date: Mon, 25 May 2026 04:42:45 +0000
          Gerrit-HasComments: No
          Gerrit-Has-Labels: Yes
          satisfied_requirement
          open
          diffy

          Chromium LUCI CQ (Gerrit)

          unread,
          May 25, 2026, 1:41:27 AM (6 days ago) May 25
          to Keishi Hattori, Kent Tamura, Michael Lippautz, Stephen Chenney, Dirk Schulze, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, Kentaro Hara, wfh+...@chromium.org, lizeb...@chromium.org, lize...@chromium.org, bartek...@chromium.org, blink-reviews-p...@chromium.org, fserb...@chromium.org, fmalit...@chromium.org, drott+bl...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, kouhe...@chromium.org, oilpan-rev...@chromium.org

          Chromium LUCI CQ submitted the change

          Change information

          Commit message:
          [Blink] Introduce active iterator tracking for HeapVector

          Add an active iterator counter to WTF::HeapVector to detect dangling
          iterators when a container backing store is reallocated or freed. This
          safeguard is controlled by the new experimental build flag
          ENABLE_HEAP_VECTOR_ACTIVE_ITERATOR_CHECKS.

          To accommodate tracking overhead without breaking binary regression
          tests, container size assertions (`ASSERT_SIZE`) are conditionally
          bypassed when the flag is enabled. Structural layout verification types
          in ShapeResult are updated to match the instrumentation metrics.

          Design doc: https://docs.google.com/document/d/1xKOsdXdgnsORfUyA3CBAtUK3tIka50KBFF1lei8P9jA/edit?tab=t.0#heading=h.c0uts5ftkk58
          Bug: 501112189
          Change-Id: I5af336e8e1ca0692e781a5dbe4fc1d047a28f8c0
          Reviewed-by: Kent Tamura <tk...@chromium.org>
          Commit-Queue: Keishi Hattori <kei...@chromium.org>
          Cr-Commit-Position: refs/heads/main@{#1635607}
          Files:
          • M third_party/blink/renderer/platform/fonts/shaping/shape_result.cc
          • M third_party/blink/renderer/platform/heap/collection_support/heap_deque.h
          • M third_party/blink/renderer/platform/heap/collection_support/heap_linked_hash_set.h
          • M third_party/blink/renderer/platform/heap/collection_support/heap_vector.h
          • M third_party/blink/renderer/platform/wtf/BUILD.gn
          • M third_party/blink/renderer/platform/wtf/vector.h
          Change size: M
          Delta: 6 files changed, 180 insertions(+), 22 deletions(-)
          Branch: refs/heads/main
          Submit Requirements:
          • requirement satisfiedCode-Review: +1 by Kent Tamura
          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: main
          Gerrit-Change-Id: I5af336e8e1ca0692e781a5dbe4fc1d047a28f8c0
          Gerrit-Change-Number: 7838780
          Gerrit-PatchSet: 23
          Gerrit-Owner: Keishi Hattori <kei...@chromium.org>
          Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
          Gerrit-Reviewer: Keishi Hattori <kei...@chromium.org>
          Gerrit-Reviewer: Kent Tamura <tk...@chromium.org>
          open
          diffy
          satisfied_requirement
          Reply all
          Reply to author
          Forward
          0 new messages