Make --trace-gc-nvp less verbose. [v8/v8 : main]

0 views
Skip to first unread message

Dominik Inführ (Gerrit)

unread,
Jan 7, 2026, 6:58:18 AM (2 days ago) Jan 7
to Erik Corry, V8 LUCI CQ, Hannes Payer, mlippau...@chromium.org, v8-re...@googlegroups.com
Attention needed from Erik Corry

Dominik Inführ added 1 comment

File src/heap/heap.cc
Line 1587, Patchset 1 (Latest): if (v8_flags.trace_gc_nvp) [[unlikely]] {
Dominik Inführ . unresolved

Since I added this and no one else is using this: We could also just drop this line?

Open in Gerrit

Related details

Attention is currently required from:
  • Erik Corry
Submit Requirements:
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
  • 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: I9e2623ca482af0ebca335c27fb1bbb2d734052dc
Gerrit-Change-Number: 7368313
Gerrit-PatchSet: 1
Gerrit-Owner: Erik Corry <erik...@chromium.org>
Gerrit-Reviewer: Dominik Inführ <dinf...@chromium.org>
Gerrit-Reviewer: Erik Corry <erik...@chromium.org>
Gerrit-CC: Hannes Payer <hpa...@chromium.org>
Gerrit-Attention: Erik Corry <erik...@chromium.org>
Gerrit-Comment-Date: Wed, 07 Jan 2026 11:58:13 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
unsatisfied_requirement
open
diffy

Erik Corry (Gerrit)

unread,
Jan 7, 2026, 7:57:37 AM (2 days ago) Jan 7
to V8 LUCI CQ, Dominik Inführ, Hannes Payer, mlippau...@chromium.org, v8-re...@googlegroups.com
Attention needed from Dominik Inführ

Erik Corry added 1 comment

File src/heap/heap.cc
Line 1587, Patchset 1 (Latest): if (v8_flags.trace_gc_nvp) [[unlikely]] {
Dominik Inführ . unresolved

Since I added this and no one else is using this: We could also just drop this line?

Erik Corry

Unconditionally drop the PrintWithTimestamp, or unconditionally drop the 'if'?

I think the print might be a little useful to us in its less verbose form, but I'm open to dropping it completely.

Open in Gerrit

Related details

Attention is currently required from:
  • Dominik Inführ
Submit Requirements:
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
  • 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: I9e2623ca482af0ebca335c27fb1bbb2d734052dc
Gerrit-Change-Number: 7368313
Gerrit-PatchSet: 1
Gerrit-Owner: Erik Corry <erik...@chromium.org>
Gerrit-Reviewer: Dominik Inführ <dinf...@chromium.org>
Gerrit-Reviewer: Erik Corry <erik...@chromium.org>
Gerrit-CC: Hannes Payer <hpa...@chromium.org>
Gerrit-Attention: Dominik Inführ <dinf...@chromium.org>
Gerrit-Comment-Date: Wed, 07 Jan 2026 12:57:32 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Dominik Inführ <dinf...@chromium.org>
unsatisfied_requirement
open
diffy

Dominik Inführ (Gerrit)

unread,
Jan 7, 2026, 11:01:56 AM (2 days ago) Jan 7
to Erik Corry, V8 LUCI CQ, Hannes Payer, mlippau...@chromium.org, v8-re...@googlegroups.com
Attention needed from Erik Corry

Dominik Inführ voted and added 2 comments

Votes added by Dominik Inführ

Code-Review+1

2 comments

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

Thanks, LGTM with comment

File src/heap/heap.cc
Line 1587, Patchset 1 (Latest): if (v8_flags.trace_gc_nvp) [[unlikely]] {
Dominik Inführ . unresolved

Since I added this and no one else is using this: We could also just drop this line?

Erik Corry

Unconditionally drop the PrintWithTimestamp, or unconditionally drop the 'if'?

I think the print might be a little useful to us in its less verbose form, but I'm open to dropping it completely.

Dominik Inführ

Sorry.. Yes, I meant to remove both the PrintWithTimestamp call and its surrounding if. I don't use this anymore and by now I think it's better to just report this from the caller, so e.g. UpdateAllocationLimits(). Only in the caller we have all the information/counter that the new limits are based on. I mostly added this print statement here to not miss any update.

Open in Gerrit

Related details

Attention is currently required from:
  • Erik Corry
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: I9e2623ca482af0ebca335c27fb1bbb2d734052dc
Gerrit-Change-Number: 7368313
Gerrit-PatchSet: 1
Gerrit-Owner: Erik Corry <erik...@chromium.org>
Gerrit-Reviewer: Dominik Inführ <dinf...@chromium.org>
Gerrit-Reviewer: Erik Corry <erik...@chromium.org>
Gerrit-CC: Hannes Payer <hpa...@chromium.org>
Gerrit-Attention: Erik Corry <erik...@chromium.org>
Gerrit-Comment-Date: Wed, 07 Jan 2026 16:01:50 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: Erik Corry <erik...@chromium.org>
Comment-In-Reply-To: Dominik Inführ <dinf...@chromium.org>
satisfied_requirement
unsatisfied_requirement
open
diffy

Dominik Inführ (Gerrit)

unread,
Jan 8, 2026, 9:04:42 AM (21 hours ago) Jan 8
to Erik Corry, V8 LUCI CQ, Hannes Payer, mlippau...@chromium.org, v8-re...@googlegroups.com
Attention needed from Erik Corry

Dominik Inführ voted and added 1 comment

Votes added by Dominik Inführ

Code-Review+1

1 comment

File src/heap/heap.cc
Line 1587, Patchset 1: if (v8_flags.trace_gc_nvp) [[unlikely]] {
Dominik Inführ . resolved

Since I added this and no one else is using this: We could also just drop this line?

Erik Corry

Unconditionally drop the PrintWithTimestamp, or unconditionally drop the 'if'?

I think the print might be a little useful to us in its less verbose form, but I'm open to dropping it completely.

Dominik Inführ

Sorry.. Yes, I meant to remove both the PrintWithTimestamp call and its surrounding if. I don't use this anymore and by now I think it's better to just report this from the caller, so e.g. UpdateAllocationLimits(). Only in the caller we have all the information/counter that the new limits are based on. I mostly added this print statement here to not miss any update.

Dominik Inführ

Done

Open in Gerrit

Related details

Attention is currently required from:
  • Erik Corry
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: I9e2623ca482af0ebca335c27fb1bbb2d734052dc
    Gerrit-Change-Number: 7368313
    Gerrit-PatchSet: 3
    Gerrit-Owner: Erik Corry <erik...@chromium.org>
    Gerrit-Reviewer: Dominik Inführ <dinf...@chromium.org>
    Gerrit-Reviewer: Erik Corry <erik...@chromium.org>
    Gerrit-CC: Hannes Payer <hpa...@chromium.org>
    Gerrit-Attention: Erik Corry <erik...@chromium.org>
    Gerrit-Comment-Date: Thu, 08 Jan 2026 14:04:38 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    Comment-In-Reply-To: Dominik Inführ <dinf...@chromium.org>
    Comment-In-Reply-To: Erik Corry <erik...@chromium.org>
    satisfied_requirement
    open
    diffy

    Erik Corry (Gerrit)

    unread,
    Jan 8, 2026, 11:31:50 AM (19 hours ago) Jan 8
    to Dominik Inführ, V8 LUCI CQ, Hannes Payer, mlippau...@chromium.org, v8-re...@googlegroups.com

    Erik Corry voted Commit-Queue+2

    Commit-Queue+2
    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: I9e2623ca482af0ebca335c27fb1bbb2d734052dc
    Gerrit-Change-Number: 7368313
    Gerrit-PatchSet: 4
    Gerrit-Owner: Erik Corry <erik...@chromium.org>
    Gerrit-Reviewer: Dominik Inführ <dinf...@chromium.org>
    Gerrit-Reviewer: Erik Corry <erik...@chromium.org>
    Gerrit-CC: Hannes Payer <hpa...@chromium.org>
    Gerrit-Comment-Date: Thu, 08 Jan 2026 16:31:46 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    open
    diffy

    V8 LUCI CQ (Gerrit)

    unread,
    Jan 8, 2026, 11:33:38 AM (19 hours ago) Jan 8
    to Erik Corry, Dominik Inführ, Hannes Payer, mlippau...@chromium.org, v8-re...@googlegroups.com

    V8 LUCI CQ submitted the change

    Unreviewed changes

    3 is the latest approved patch-set.
    No files were changed between the latest approved patch-set and the submitted one.

    Change information

    Commit message:
    Make --trace-gc-nvp less verbose.


    Change-Id: I9e2623ca482af0ebca335c27fb1bbb2d734052dc
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/7368313
    Commit-Queue: Erik Corry <erik...@chromium.org>
    Reviewed-by: Dominik Inführ <dinf...@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#104565}
    Files:
    • M src/heap/heap.cc
    Change size: XS
    Delta: 1 file changed, 0 insertions(+), 8 deletions(-)
    Branch: refs/heads/main
    Submit Requirements:
    • requirement satisfiedCode-Review: +1 by Dominik Inführ
    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: I9e2623ca482af0ebca335c27fb1bbb2d734052dc
    Gerrit-Change-Number: 7368313
    Gerrit-PatchSet: 5
    Gerrit-Owner: Erik Corry <erik...@chromium.org>
    Gerrit-Reviewer: Dominik Inführ <dinf...@chromium.org>
    Gerrit-Reviewer: Erik Corry <erik...@chromium.org>
    Gerrit-CC: Hannes Payer <hpa...@chromium.org>
    open
    diffy
    satisfied_requirement
    Reply all
    Reply to author
    Forward
    0 new messages