[heap] Remove pretenuring support in full GCs [v8/v8 : main]

0 views
Skip to first unread message

Dominik Inführ (Gerrit)

unread,
Dec 15, 2025, 1:44:35 AM (yesterday) Dec 15
to Michael Lippautz, V8 LUCI CQ, chrom...@appspot.gserviceaccount.com, Hannes Payer, mlippau...@chromium.org, v8-re...@googlegroups.com
Attention needed from Michael Lippautz

Dominik Inführ added 1 comment

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

PTAL

This CL seems to have +0.2% on both js2 [0] and js3 [1]. In js2 splay regresses -0.6% because of the first iteration (which I would argue is still in fluctuation range). splay in js3 improves by +1.4% - but not sure whether is is an actual improvment (the js3 runner doesn't show first/average/worst).

0: https://pinpoint-dot-chromeperf.appspot.com/job/1071109f310000
1: https://pinpoint-dot-chromeperf.appspot.com/job/101ccaa3310000

Open in Gerrit

Related details

Attention is currently required from:
  • Michael Lippautz
Submit Requirements:
  • 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: v8/v8
Gerrit-Branch: main
Gerrit-Change-Id: Iaa673f6f0a24c9421c7477a2d503e9de3f7e5cd6
Gerrit-Change-Number: 7245796
Gerrit-PatchSet: 7
Gerrit-Owner: Dominik Inführ <dinf...@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: Michael Lippautz <mlip...@chromium.org>
Gerrit-Comment-Date: Mon, 15 Dec 2025 06:44:30 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

chromeperf@appspot.gserviceaccount.com (Gerrit)

unread,
Dec 15, 2025, 2:37:51 AM (yesterday) Dec 15
to Dominik Inführ, Michael Lippautz, V8 LUCI CQ, Hannes Payer, mlippau...@chromium.org, v8-re...@googlegroups.com
Attention needed from Dominik Inführ and Michael Lippautz

Message from chrom...@appspot.gserviceaccount.com

📍 Job mac-m1_mini_2020-perf/speedometer3 complete.

See results at: https://pinpoint-dot-chromeperf.appspot.com/job/106ef044b10000

Open in Gerrit

Related details

Attention is currently required from:
  • Dominik Inführ
  • Michael Lippautz
Submit Requirements:
  • 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: v8/v8
Gerrit-Branch: main
Gerrit-Change-Id: Iaa673f6f0a24c9421c7477a2d503e9de3f7e5cd6
Gerrit-Change-Number: 7245796
Gerrit-PatchSet: 9
Gerrit-Owner: Dominik Inführ <dinf...@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: Michael Lippautz <mlip...@chromium.org>
Gerrit-Attention: Dominik Inführ <dinf...@chromium.org>
Gerrit-Comment-Date: Mon, 15 Dec 2025 07:37:46 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Michael Lippautz (Gerrit)

unread,
Dec 15, 2025, 7:55:29 AM (22 hours ago) Dec 15
to Dominik Inführ, V8 LUCI CQ, chrom...@appspot.gserviceaccount.com, Hannes Payer, mlippau...@chromium.org, v8-re...@googlegroups.com
Attention needed from Dominik Inführ

Michael Lippautz added 1 comment

Patchset-level comments
File-level comment, Patchset 9 (Latest):
Michael Lippautz . unresolved

Pretenuring is still happening on full GCs IIUC: https://source.chromium.org/chromium/chromium/src/+/main:v8/src/heap/heap.cc;l=2422?q=ProcessPretenuringFeedback&ss=chromium

That part didn't change.

So, the CL here implements a version that doesn't update the counters but does digest feedback and follow through on it. I find this combination a bit strange.

Open in Gerrit

Related details

Attention is currently required from:
  • Dominik Inführ
Submit Requirements:
    • requirement 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: Iaa673f6f0a24c9421c7477a2d503e9de3f7e5cd6
    Gerrit-Change-Number: 7245796
    Gerrit-PatchSet: 9
    Gerrit-Owner: Dominik Inführ <dinf...@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: Mon, 15 Dec 2025 12:55:25 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Michael Lippautz (Gerrit)

    unread,
    Dec 15, 2025, 7:55:43 AM (22 hours ago) Dec 15
    to Dominik Inführ, V8 LUCI CQ, chrom...@appspot.gserviceaccount.com, Hannes Payer, mlippau...@chromium.org, v8-re...@googlegroups.com
    Attention needed from Dominik Inführ

    Michael Lippautz added 1 comment

    Commit Message
    Line 19, Patchset 9 (Latest):Bug: 463528049
    Michael Lippautz . unresolved

    Is this really improving GC pause time?

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Dominik Inführ
    Submit Requirements:
    • requirement 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: Iaa673f6f0a24c9421c7477a2d503e9de3f7e5cd6
    Gerrit-Change-Number: 7245796
    Gerrit-PatchSet: 9
    Gerrit-Owner: Dominik Inführ <dinf...@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: Mon, 15 Dec 2025 12:55:38 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Dominik Inführ (Gerrit)

    unread,
    Dec 15, 2025, 8:37:52 AM (22 hours ago) Dec 15
    to Michael Lippautz, V8 LUCI CQ, chrom...@appspot.gserviceaccount.com, Hannes Payer, mlippau...@chromium.org, v8-re...@googlegroups.com
    Attention needed from Michael Lippautz

    Dominik Inführ added 2 comments

    Patchset-level comments
    Michael Lippautz . unresolved

    Pretenuring is still happening on full GCs IIUC: https://source.chromium.org/chromium/chromium/src/+/main:v8/src/heap/heap.cc;l=2422?q=ProcessPretenuringFeedback&ss=chromium

    That part didn't change.

    So, the CL here implements a version that doesn't update the counters but does digest feedback and follow through on it. I find this combination a bit strange.

    Dominik Inführ

    Agreed. But AFAIU we shouldn't update counters/digest feedback here because `global_pretenuring_feedback_` is always empty (we don't invoke MergeAllocationSitePretenuringFeedback during full GCs).

    Commit Message
    Line 19, Patchset 9:Bug: 463528049
    Michael Lippautz . unresolved

    Is this really improving GC pause time?

    Dominik Inführ

    Evacuation and ClearNonLiveReferences() should become cheaper. So I would say yes in general. The main reason I used this bug though is because the CL is part of the parallel clearing CL.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Michael Lippautz
    Submit Requirements:
    • requirement 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: Iaa673f6f0a24c9421c7477a2d503e9de3f7e5cd6
    Gerrit-Change-Number: 7245796
    Gerrit-PatchSet: 10
    Gerrit-Owner: Dominik Inführ <dinf...@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: Michael Lippautz <mlip...@chromium.org>
    Gerrit-Comment-Date: Mon, 15 Dec 2025 13:37:48 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Michael Lippautz <mlip...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Dominik Inführ (Gerrit)

    unread,
    Dec 15, 2025, 8:48:36 AM (21 hours ago) Dec 15
    to Michael Lippautz, V8 LUCI CQ, chrom...@appspot.gserviceaccount.com, Hannes Payer, mlippau...@chromium.org, v8-re...@googlegroups.com
    Attention needed from Michael Lippautz

    Dominik Inführ added 1 comment

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

    I've updated the CL, PTALA

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Michael Lippautz
    Submit Requirements:
    • requirement 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: Iaa673f6f0a24c9421c7477a2d503e9de3f7e5cd6
    Gerrit-Change-Number: 7245796
    Gerrit-PatchSet: 10
    Gerrit-Owner: Dominik Inführ <dinf...@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: Michael Lippautz <mlip...@chromium.org>
    Gerrit-Comment-Date: Mon, 15 Dec 2025 13:48:31 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Michael Lippautz (Gerrit)

    unread,
    Dec 15, 2025, 8:53:54 AM (21 hours ago) Dec 15
    to Dominik Inführ, V8 LUCI CQ, chrom...@appspot.gserviceaccount.com, Hannes Payer, mlippau...@chromium.org, v8-re...@googlegroups.com
    Attention needed from Dominik Inführ

    Michael Lippautz added 1 comment

    Patchset-level comments
    Michael Lippautz . unresolved

    Pretenuring is still happening on full GCs IIUC: https://source.chromium.org/chromium/chromium/src/+/main:v8/src/heap/heap.cc;l=2422?q=ProcessPretenuringFeedback&ss=chromium

    That part didn't change.

    So, the CL here implements a version that doesn't update the counters but does digest feedback and follow through on it. I find this combination a bit strange.

    Dominik Inführ

    Agreed. But AFAIU we shouldn't update counters/digest feedback here because `global_pretenuring_feedback_` is always empty (we don't invoke MergeAllocationSitePretenuringFeedback during full GCs).

    Michael Lippautz

    Can we make this clear by moving the pretenuring logic fully behind young GCs?

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Dominik Inführ
    Submit Requirements:
    • requirement 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: Iaa673f6f0a24c9421c7477a2d503e9de3f7e5cd6
    Gerrit-Change-Number: 7245796
    Gerrit-PatchSet: 10
    Gerrit-Owner: Dominik Inführ <dinf...@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: Mon, 15 Dec 2025 13:53:49 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Michael Lippautz <mlip...@chromium.org>
    Comment-In-Reply-To: Dominik Inführ <dinf...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Dominik Inführ (Gerrit)

    unread,
    Dec 15, 2025, 9:00:25 AM (21 hours ago) Dec 15
    to Michael Lippautz, V8 LUCI CQ, chrom...@appspot.gserviceaccount.com, Hannes Payer, mlippau...@chromium.org, v8-re...@googlegroups.com
    Attention needed from Dominik Inführ

    Dominik Inführ added 1 comment

    Patchset-level comments
    Michael Lippautz . unresolved

    Pretenuring is still happening on full GCs IIUC: https://source.chromium.org/chromium/chromium/src/+/main:v8/src/heap/heap.cc;l=2422?q=ProcessPretenuringFeedback&ss=chromium

    That part didn't change.

    So, the CL here implements a version that doesn't update the counters but does digest feedback and follow through on it. I find this combination a bit strange.

    Dominik Inführ

    Agreed. But AFAIU we shouldn't update counters/digest feedback here because `global_pretenuring_feedback_` is always empty (we don't invoke MergeAllocationSitePretenuringFeedback during full GCs).

    Dominik Inführ

    I added a DCHECK for this.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Dominik Inführ
    Submit Requirements:
    • requirement 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: Iaa673f6f0a24c9421c7477a2d503e9de3f7e5cd6
    Gerrit-Change-Number: 7245796
    Gerrit-PatchSet: 10
    Gerrit-Owner: Dominik Inführ <dinf...@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: Mon, 15 Dec 2025 14:00:21 +0000
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Dominik Inführ (Gerrit)

    unread,
    Dec 15, 2025, 9:32:02 AM (21 hours ago) Dec 15
    to Michael Lippautz, V8 LUCI CQ, chrom...@appspot.gserviceaccount.com, Hannes Payer, mlippau...@chromium.org, v8-re...@googlegroups.com
    Attention needed from Michael Lippautz

    Dominik Inführ added 1 comment

    Patchset-level comments
    Michael Lippautz . unresolved

    Pretenuring is still happening on full GCs IIUC: https://source.chromium.org/chromium/chromium/src/+/main:v8/src/heap/heap.cc;l=2422?q=ProcessPretenuringFeedback&ss=chromium

    That part didn't change.

    So, the CL here implements a version that doesn't update the counters but does digest feedback and follow through on it. I find this combination a bit strange.

    Dominik Inführ

    Agreed. But AFAIU we shouldn't update counters/digest feedback here because `global_pretenuring_feedback_` is always empty (we don't invoke MergeAllocationSitePretenuringFeedback during full GCs).

    Dominik Inführ

    I added a DCHECK for this.

    Dominik Inführ

    Sorry, added that comment before I saw yours. I added a DCHECK which ensures that `global_pretenuring_feedback_` is empty on full GC. We could skip it altogether as well though. I just updated the CL.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Michael Lippautz
    Submit Requirements:
    • requirement 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: Iaa673f6f0a24c9421c7477a2d503e9de3f7e5cd6
    Gerrit-Change-Number: 7245796
    Gerrit-PatchSet: 11
    Gerrit-Owner: Dominik Inführ <dinf...@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: Michael Lippautz <mlip...@chromium.org>
    Gerrit-Comment-Date: Mon, 15 Dec 2025 14:31:57 +0000
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Michael Lippautz (Gerrit)

    unread,
    Dec 15, 2025, 10:07:52 AM (20 hours ago) Dec 15
    to Dominik Inführ, V8 LUCI CQ, chrom...@appspot.gserviceaccount.com, Hannes Payer, mlippau...@chromium.org, v8-re...@googlegroups.com
    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
    File-level comment, Patchset 14 (Latest):
    Michael Lippautz . resolved

    lgtm

    File src/heap/mark-compact.cc
    Line 1745, Patchset 14 (Latest): explicit EvacuateNewSpaceVisitor(Heap* heap,
    Michael Lippautz . unresolved

    not need for explicit

    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: Iaa673f6f0a24c9421c7477a2d503e9de3f7e5cd6
    Gerrit-Change-Number: 7245796
    Gerrit-PatchSet: 14
    Gerrit-Owner: Dominik Inführ <dinf...@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: Mon, 15 Dec 2025 15:07:47 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Dominik Inführ (Gerrit)

    unread,
    Dec 15, 2025, 11:24:51 AM (19 hours ago) Dec 15
    to Michael Lippautz, V8 LUCI CQ, chrom...@appspot.gserviceaccount.com, Hannes Payer, mlippau...@chromium.org, v8-re...@googlegroups.com

    Dominik Inführ voted and added 4 comments

    Votes added by Dominik Inführ

    Commit-Queue+2

    4 comments

    Patchset-level comments
    File-level comment, Patchset 9:
    Michael Lippautz . resolved

    Pretenuring is still happening on full GCs IIUC: https://source.chromium.org/chromium/chromium/src/+/main:v8/src/heap/heap.cc;l=2422?q=ProcessPretenuringFeedback&ss=chromium

    That part didn't change.

    So, the CL here implements a version that doesn't update the counters but does digest feedback and follow through on it. I find this combination a bit strange.

    Dominik Inführ

    Agreed. But AFAIU we shouldn't update counters/digest feedback here because `global_pretenuring_feedback_` is always empty (we don't invoke MergeAllocationSitePretenuringFeedback during full GCs).

    Dominik Inführ

    I added a DCHECK for this.

    Dominik Inführ

    Sorry, added that comment before I saw yours. I added a DCHECK which ensures that `global_pretenuring_feedback_` is empty on full GC. We could skip it altogether as well though. I just updated the CL.

    Dominik Inführ

    Done

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

    Thanks for the review!

    Commit Message
    Line 19, Patchset 9:Bug: 463528049
    Michael Lippautz . resolved

    Is this really improving GC pause time?

    Dominik Inführ

    Evacuation and ClearNonLiveReferences() should become cheaper. So I would say yes in general. The main reason I used this bug though is because the CL is part of the parallel clearing CL.

    Dominik Inführ

    Done

    File src/heap/mark-compact.cc
    Line 1745, Patchset 14: explicit EvacuateNewSpaceVisitor(Heap* heap,
    Michael Lippautz . resolved

    not need for explicit

    Dominik Inführ

    Done

    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: Iaa673f6f0a24c9421c7477a2d503e9de3f7e5cd6
      Gerrit-Change-Number: 7245796
      Gerrit-PatchSet: 15
      Gerrit-Owner: Dominik Inführ <dinf...@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: Mon, 15 Dec 2025 16:24:45 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      open
      diffy

      V8 LUCI CQ (Gerrit)

      unread,
      Dec 15, 2025, 12:15:34 PM (18 hours ago) Dec 15
      to Dominik Inführ, Michael Lippautz, chrom...@appspot.gserviceaccount.com, Hannes Payer, mlippau...@chromium.org, v8-re...@googlegroups.com

      V8 LUCI CQ submitted the change with unreviewed changes

      Unreviewed changes

      14 is the latest approved patch-set.
      The change was submitted with unreviewed changes in the following files:

      ```
      The name of the file: src/heap/mark-compact.cc
      Insertions: 2, Deletions: 3.

      @@ -1742,9 +1742,8 @@

      class EvacuateNewSpaceVisitor final : public EvacuateVisitorBase {
      public:
      - explicit EvacuateNewSpaceVisitor(Heap* heap,
      - EvacuationAllocator* local_allocator,
      - RecordMigratedSlotVisitor* record_visitor)
      + EvacuateNewSpaceVisitor(Heap* heap, EvacuationAllocator* local_allocator,
      + RecordMigratedSlotVisitor* record_visitor)
      : EvacuateVisitorBase(heap, local_allocator, record_visitor),
      promoted_size_(0),
      is_incremental_marking_(heap->incremental_marking()->IsMarking()),
      ```

      Change information

      Commit message:
      [heap] Remove pretenuring support in full GCs

      In general the vast majority of GCs are Minor GCs, so not updating
      AllocationSites during Major GCs shouldn't change pretenuring
      heuristics much. Removing pretenuring support from Major GCs also
      allows us to get rid of the Zombie state for AllocationSites. Without
      the zombie state we also don't need to keep AllocationSites for
      an additional GC cycle, so we do not need to mark AllocationSites
      in ClearNonLiveReferences() anymore.

      Removing the support for pretenuring in full GC doesn't break
      resetting the pretenure decision at full GCs in
      Heap::EvaluateOldSpaceLocalPretenuring. This is because this is
      purely based on heap sizes before and after the full GC.
      Bug: 463528049
      Change-Id: Iaa673f6f0a24c9421c7477a2d503e9de3f7e5cd6
      Commit-Queue: Dominik Inführ <dinf...@chromium.org>
      Reviewed-by: Michael Lippautz <mlip...@chromium.org>
      Cr-Commit-Position: refs/heads/main@{#104330}
      Files:
      • M src/diagnostics/objects-printer.cc
      • M src/heap/heap.cc
      • M src/heap/mark-compact.cc
      • M src/heap/pretenuring-handler-inl.h
      • M src/heap/pretenuring-handler.cc
      • M src/objects/allocation-site-inl.h
      • M src/objects/allocation-site.h
      • M src/objects/objects.cc
      • M test/cctest/heap/test-heap.cc
      • M test/cctest/test-heap-profiler.cc
      • M test/mjsunit/compiler/deopt-pretenure.js
      Change size: M
      Delta: 11 files changed, 48 insertions(+), 122 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: Iaa673f6f0a24c9421c7477a2d503e9de3f7e5cd6
      Gerrit-Change-Number: 7245796
      Gerrit-PatchSet: 16
      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