[jdk25u-dev] RFR: 8373714: Shenandoah: Register heuristic penalties following a degenerated GC

Aleksey Shipilev shade at openjdk.org
Thu Jan 22 09:34:40 UTC 2026


On Thu, 22 Jan 2026 00:34:51 GMT, Kelvin Nilsen <kdnilsen at openjdk.org> wrote:

> Hi all,
> 
> This pull request contains a backport of commit 385c4f81 from the openjdk/jdk repository.
> 
> The commit being backported was authored by Kelvin Nilsen on 8 Jan 2026 and was reviewed by William Kemper.
> 
> Thanks!

src/hotspot/share/gc/shenandoah/heuristics/shenandoahAdaptiveHeuristics.hpp line 79:

> 77:   virtual void record_success_concurrent() override;
> 78:   virtual void record_degenerated() override;
> 79:   virtual void record_success_full() override;

So adding `virtual` in this hunk is what makes the backport unclean? Do you need to do it here?

-------------

PR Review Comment: https://git.openjdk.org/jdk25u-dev/pull/162#discussion_r2716066190


More information about the jdk-updates-dev mailing list