[heap, profiler] Use kExposeInternals for snapshots created by GC [v8/v8 : main]

0 views
Skip to first unread message

Dominik Inführ (Gerrit)

unread,
5:05 AM (10 hours ago) 5:05 AM
to Camillo Bruni, Michael Lippautz, Hannes Payer, AyeAye, mlippau...@chromium.org, oilpan-r...@chromium.org, devtools-...@chromium.org, v8-re...@googlegroups.com
Attention needed from Camillo Bruni and Michael Lippautz

New activity on the change

Open in Gerrit

Related details

Attention is currently required from:
  • Camillo Bruni
  • 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: I0400c1855a50cc650e26d032c573f1cdb039689e
Gerrit-Change-Number: 7626499
Gerrit-PatchSet: 4
Gerrit-Owner: Dominik Inführ <dinf...@chromium.org>
Gerrit-Reviewer: Camillo Bruni <cbr...@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: Camillo Bruni <cbr...@chromium.org>
Gerrit-Comment-Date: Tue, 03 Mar 2026 10:05:18 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
unsatisfied_requirement
open
diffy

Michael Lippautz (Gerrit)

unread,
5:08 AM (10 hours ago) 5:08 AM
to Dominik Inführ, Camillo Bruni, Hannes Payer, AyeAye, mlippau...@chromium.org, oilpan-r...@chromium.org, devtools-...@chromium.org, v8-re...@googlegroups.com
Attention needed from Camillo Bruni and Dominik Inführ

Michael Lippautz voted and added 2 comments

Votes added by Michael Lippautz

Code-Review+1

2 comments

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

lgtm

File src/profiler/heap-profiler.cc
Line 204, Patchset 4 (Latest):HeapProfiler::GetDefaultHeapSnapshotOptions() {
Michael Lippautz . unresolved

`GetDefaultHeapSnapshotOptionsForTestingUsage()`? I'd like to encode that this is internal/testing somehow.

Open in Gerrit

Related details

Attention is currently required from:
  • Camillo Bruni
  • 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: I0400c1855a50cc650e26d032c573f1cdb039689e
Gerrit-Change-Number: 7626499
Gerrit-PatchSet: 4
Gerrit-Owner: Dominik Inführ <dinf...@chromium.org>
Gerrit-Reviewer: Camillo Bruni <cbr...@chromium.org>
Gerrit-Reviewer: Michael Lippautz <mlip...@chromium.org>
Gerrit-CC: Hannes Payer <hpa...@chromium.org>
Gerrit-Attention: Dominik Inführ <dinf...@chromium.org>
Gerrit-Attention: Camillo Bruni <cbr...@chromium.org>
Gerrit-Comment-Date: Tue, 03 Mar 2026 10:08:47 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Dominik Inführ (Gerrit)

unread,
5:20 AM (9 hours ago) 5:20 AM
to V8 LUCI CQ, Michael Lippautz, Camillo Bruni, Hannes Payer, AyeAye, mlippau...@chromium.org, oilpan-r...@chromium.org, devtools-...@chromium.org, v8-re...@googlegroups.com
Attention needed from Camillo Bruni

Dominik Inführ added 1 comment

File src/profiler/heap-profiler.cc
Line 204, Patchset 4:HeapProfiler::GetDefaultHeapSnapshotOptions() {
Michael Lippautz . resolved

`GetDefaultHeapSnapshotOptionsForTestingUsage()`? I'd like to encode that this is internal/testing somehow.

Dominik Inführ

Done

Open in Gerrit

Related details

Attention is currently required from:
  • Camillo Bruni
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: I0400c1855a50cc650e26d032c573f1cdb039689e
    Gerrit-Change-Number: 7626499
    Gerrit-PatchSet: 5
    Gerrit-Owner: Dominik Inführ <dinf...@chromium.org>
    Gerrit-Reviewer: Camillo Bruni <cbr...@chromium.org>
    Gerrit-Reviewer: Dominik Inführ <dinf...@chromium.org>
    Gerrit-Reviewer: Michael Lippautz <mlip...@chromium.org>
    Gerrit-CC: Hannes Payer <hpa...@chromium.org>
    Gerrit-Attention: Camillo Bruni <cbr...@chromium.org>
    Gerrit-Comment-Date: Tue, 03 Mar 2026 10:20:00 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Michael Lippautz <mlip...@chromium.org>
    satisfied_requirement
    open
    diffy

    Camillo Bruni (Gerrit)

    unread,
    5:23 AM (9 hours ago) 5:23 AM
    to Dominik Inführ, V8 LUCI CQ, Michael Lippautz, Hannes Payer, AyeAye, mlippau...@chromium.org, oilpan-r...@chromium.org, devtools-...@chromium.org, v8-re...@googlegroups.com
    Attention needed from Dominik Inführ

    Camillo Bruni voted Code-Review+1

    Code-Review+1
    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: I0400c1855a50cc650e26d032c573f1cdb039689e
    Gerrit-Change-Number: 7626499
    Gerrit-PatchSet: 5
    Gerrit-Owner: Dominik Inführ <dinf...@chromium.org>
    Gerrit-Reviewer: Camillo Bruni <cbr...@chromium.org>
    Gerrit-Reviewer: Dominik Inführ <dinf...@chromium.org>
    Gerrit-Reviewer: Michael Lippautz <mlip...@chromium.org>
    Gerrit-CC: Hannes Payer <hpa...@chromium.org>
    Gerrit-Attention: Dominik Inführ <dinf...@chromium.org>
    Gerrit-Comment-Date: Tue, 03 Mar 2026 10:23:14 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    open
    diffy

    Dominik Inführ (Gerrit)

    unread,
    5:23 AM (9 hours ago) 5:23 AM
    to Camillo Bruni, V8 LUCI CQ, Michael Lippautz, Hannes Payer, AyeAye, mlippau...@chromium.org, oilpan-r...@chromium.org, devtools-...@chromium.org, v8-re...@googlegroups.com

    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 5 (Latest):
    Dominik Inführ . resolved

    Thanks for the reviews!

    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: I0400c1855a50cc650e26d032c573f1cdb039689e
    Gerrit-Change-Number: 7626499
    Gerrit-PatchSet: 5
    Gerrit-Owner: Dominik Inführ <dinf...@chromium.org>
    Gerrit-Reviewer: Camillo Bruni <cbr...@chromium.org>
    Gerrit-Reviewer: Dominik Inführ <dinf...@chromium.org>
    Gerrit-Reviewer: Michael Lippautz <mlip...@chromium.org>
    Gerrit-CC: Hannes Payer <hpa...@chromium.org>
    Gerrit-Comment-Date: Tue, 03 Mar 2026 10:23:41 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    open
    diffy

    V8 LUCI CQ (Gerrit)

    unread,
    10:26 AM (4 hours ago) 10:26 AM
    to Dominik Inführ, Camillo Bruni, Michael Lippautz, Hannes Payer, AyeAye, mlippau...@chromium.org, oilpan-r...@chromium.org, devtools-...@chromium.org, v8-re...@googlegroups.com

    V8 LUCI CQ submitted the change

    Change information

    Commit message:
    [heap, profiler] Use kExposeInternals for snapshots created by GC

    Move the options we use for V8-internal heap snapshots into a new
    method GetDefaultHeapSnapshotOptions() and use it across all
    call-sites.

    WriteSnapshotToDiskAfterGC() which is used for e.g.
    --heap-snapshot-on-gc, now uses the same options by default as well.
    Change-Id: I0400c1855a50cc650e26d032c573f1cdb039689e
    Reviewed-by: Camillo Bruni <cbr...@chromium.org>
    Reviewed-by: Michael Lippautz <mlip...@chromium.org>
    Commit-Queue: Dominik Inführ <dinf...@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#105558}
    Files:
    • M src/extensions/gc-extension.cc
    • M src/heap/cppgc-js/cpp-heap.cc
    • M src/profiler/heap-profiler.cc
    • M src/profiler/heap-profiler.h
    • M src/runtime/runtime-test.cc
    Change size: M
    Delta: 5 files changed, 30 insertions(+), 21 deletions(-)
    Branch: refs/heads/main
    Submit Requirements:
    • requirement satisfiedCode-Review: +1 by Camillo Bruni, +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: I0400c1855a50cc650e26d032c573f1cdb039689e
    Gerrit-Change-Number: 7626499
    Gerrit-PatchSet: 6
    Gerrit-Owner: Dominik Inführ <dinf...@chromium.org>
    Gerrit-Reviewer: Camillo Bruni <cbr...@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