[cppgc] Fix ASAN false positive in handle location [v8/v8 : main]

0 views
Skip to first unread message

Dominik Inführ (Gerrit)

unread,
May 22, 2026, 1:42:26 AM (9 days ago) May 22
to Michael Lippautz, v8-s...@luci-project-accounts.iam.gserviceaccount.com, android-bu...@system.gserviceaccount.com, cbruni...@chromium.org, oilpan-r...@chromium.org
Attention needed from Michael Lippautz

Dominik Inführ voted and added 1 comment

Votes added by Dominik Inführ

Auto-Submit+1
Commit-Queue+1

1 comment

Patchset-level comments
File-level comment, Patchset 3 (Latest):
Dominik Inführ . resolved

PTAL, I guess it makes sense to make this a separate CL now..

Open in Gerrit

Related details

Attention is currently required from:
  • 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: I6af31de5b6273a8cfde835388dbf64e826a65ef9
Gerrit-Change-Number: 7865927
Gerrit-PatchSet: 3
Gerrit-Owner: Dominik Inführ <dinf...@chromium.org>
Gerrit-Reviewer: Dominik Inführ <dinf...@chromium.org>
Gerrit-Reviewer: Michael Lippautz <mlip...@chromium.org>
Gerrit-Attention: Michael Lippautz <mlip...@chromium.org>
Gerrit-Comment-Date: Fri, 22 May 2026 05:42:23 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
unsatisfied_requirement
open
diffy

Michael Lippautz (Gerrit)

unread,
May 22, 2026, 3:31:59 AM (9 days ago) May 22
to Dominik Inführ, v8-s...@luci-project-accounts.iam.gserviceaccount.com, android-bu...@system.gserviceaccount.com, cbruni...@chromium.org, oilpan-r...@chromium.org
Attention needed from Dominik Inführ

Michael Lippautz voted and added 2 comments

Votes added by Michael Lippautz

Code-Review+1

2 comments

Patchset-level comments
Michael Lippautz . resolved

lgtm

File include/cppgc/cross-thread-persistent.h
Line 410, Patchset 3 (Latest): V8_CLANG_NO_SANITIZE("address")
Michael Lippautz . unresolved

Can you describe here more what we need to exclude sanitization.

Open in Gerrit

Related details

Attention is currently required from:
  • Dominik Inführ
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: I6af31de5b6273a8cfde835388dbf64e826a65ef9
Gerrit-Change-Number: 7865927
Gerrit-PatchSet: 3
Gerrit-Owner: Dominik Inführ <dinf...@chromium.org>
Gerrit-Reviewer: Dominik Inführ <dinf...@chromium.org>
Gerrit-Reviewer: Michael Lippautz <mlip...@chromium.org>
Gerrit-Attention: Dominik Inführ <dinf...@chromium.org>
Gerrit-Comment-Date: Fri, 22 May 2026 07:31:54 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Dominik Inführ (Gerrit)

unread,
May 22, 2026, 5:05:52 AM (9 days ago) May 22
to Michael Lippautz, v8-s...@luci-project-accounts.iam.gserviceaccount.com, android-bu...@system.gserviceaccount.com, cbruni...@chromium.org, oilpan-r...@chromium.org

Dominik Inführ voted and added 1 comment

Votes added by Dominik Inführ

Auto-Submit+1

1 comment

File include/cppgc/cross-thread-persistent.h
Line 410, Patchset 3: V8_CLANG_NO_SANITIZE("address")
Michael Lippautz . resolved

Can you describe here more what we need to exclude sanitization.

Dominik Inführ

We don't actually need the V8_CLANG_NO_SANITIZE("address") annotation here. I dropped it and added a comment to the other use. I hope this is what you had in mind.

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: I6af31de5b6273a8cfde835388dbf64e826a65ef9
    Gerrit-Change-Number: 7865927
    Gerrit-PatchSet: 4
    Gerrit-Comment-Date: Fri, 22 May 2026 09:05:49 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    Comment-In-Reply-To: Michael Lippautz <mlip...@chromium.org>
    satisfied_requirement
    open
    diffy

    Dominik Inführ (Gerrit)

    unread,
    May 22, 2026, 5:06:35 AM (9 days ago) May 22
    to Michael Lippautz, v8-s...@luci-project-accounts.iam.gserviceaccount.com, android-bu...@system.gserviceaccount.com, cbruni...@chromium.org, oilpan-r...@chromium.org

    Dominik Inführ voted and added 1 comment

    Votes added by Dominik Inführ

    Commit-Queue+2

    1 comment

    Patchset-level comments
    File-level comment, Patchset 4 (Latest):
    Dominik Inführ . resolved

    Thanks for the review!

    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: I6af31de5b6273a8cfde835388dbf64e826a65ef9
    Gerrit-Change-Number: 7865927
    Gerrit-PatchSet: 4
    Gerrit-Owner: Dominik Inführ <dinf...@chromium.org>
    Gerrit-Reviewer: Dominik Inführ <dinf...@chromium.org>
    Gerrit-Reviewer: Michael Lippautz <mlip...@chromium.org>
    Gerrit-Comment-Date: Fri, 22 May 2026 09:06:32 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    open
    diffy

    Michael Lippautz (Gerrit)

    unread,
    May 22, 2026, 5:07:05 AM (9 days ago) May 22
    to Dominik Inführ, v8-s...@luci-project-accounts.iam.gserviceaccount.com, android-bu...@system.gserviceaccount.com, cbruni...@chromium.org, oilpan-r...@chromium.org
    Attention needed from Dominik Inführ

    Michael Lippautz voted and added 1 comment

    Votes added by Michael Lippautz

    Code-Review+1

    1 comment

    File include/cppgc/cross-thread-persistent.h
    Line 410, Patchset 3: V8_CLANG_NO_SANITIZE("address")
    Michael Lippautz . resolved

    Can you describe here more what we need to exclude sanitization.

    Dominik Inführ

    We don't actually need the V8_CLANG_NO_SANITIZE("address") annotation here. I dropped it and added a comment to the other use. I hope this is what you had in mind.

    Michael Lippautz

    Yip, exactly

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Dominik Inführ
    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: I6af31de5b6273a8cfde835388dbf64e826a65ef9
    Gerrit-Change-Number: 7865927
    Gerrit-PatchSet: 4
    Gerrit-Owner: Dominik Inführ <dinf...@chromium.org>
    Gerrit-Reviewer: Dominik Inführ <dinf...@chromium.org>
    Gerrit-Reviewer: Michael Lippautz <mlip...@chromium.org>
    Gerrit-Attention: Dominik Inführ <dinf...@chromium.org>
    Gerrit-Comment-Date: Fri, 22 May 2026 09:07:02 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    Comment-In-Reply-To: Michael Lippautz <mlip...@chromium.org>
    Comment-In-Reply-To: Dominik Inführ <dinf...@chromium.org>
    satisfied_requirement
    open
    diffy

    v8-scoped@luci-project-accounts.iam.gserviceaccount.com (Gerrit)

    unread,
    May 22, 2026, 6:06:08 AM (9 days ago) May 22
    to Dominik Inführ, Michael Lippautz, android-bu...@system.gserviceaccount.com, cbruni...@chromium.org, oilpan-r...@chromium.org

    v8-s...@luci-project-accounts.iam.gserviceaccount.com submitted the change

    Change information

    Commit message:
    [cppgc] Fix ASAN false positive in handle location

    Enabling cppgc_enable_object_names causes ASAN false positives
    when iterating cross-thread persistents. This is because of the
    access to the location_ field. This CL fixes this by silencing
    ASAN for this access similar to what we do for GetNodeFromGC() or
    ClearFromGC().
    Bug: 497855658
    Change-Id: I6af31de5b6273a8cfde835388dbf64e826a65ef9
    Auto-Submit: Dominik Inführ <dinf...@chromium.org>
    Commit-Queue: Dominik Inführ <dinf...@chromium.org>
    Reviewed-by: Michael Lippautz <mlip...@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#107520}
    Files:
    • M include/cppgc/cross-thread-persistent.h
    • M include/cppgc/internal/pointer-policies.h
    • M include/cppgc/visitor.h
    Change size: S
    Delta: 3 files changed, 27 insertions(+), 2 deletions(-)
    Branch: refs/heads/main
    Submit Requirements:
    • requirement satisfiedCode-Review: +1 by Michael Lippautz
    Open in Gerrit
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: merged
    Gerrit-Project: v8/v8
    Gerrit-Branch: main
    Gerrit-Change-Id: I6af31de5b6273a8cfde835388dbf64e826a65ef9
    Gerrit-Change-Number: 7865927
    Gerrit-PatchSet: 5
    Gerrit-Owner: Dominik Inführ <dinf...@chromium.org>
    Gerrit-Reviewer: Dominik Inführ <dinf...@chromium.org>
    Gerrit-Reviewer: Michael Lippautz <mlip...@chromium.org>
    open
    diffy
    satisfied_requirement
    Reply all
    Reply to author
    Forward
    0 new messages