RFR: 8333925: Shenandoah: Heuristics should have an option to ignore abbreviated cycles [v2]

William Kemper wkemper at openjdk.org
Tue Jun 25 21:58:15 UTC 2024


On Tue, 11 Jun 2024 22:36:26 GMT, William Kemper <wkemper at openjdk.org> wrote:

>> After concurrent marking is complete, Shenandoah will skip the evacuation phase if a sufficient amount of garbage is found in regions that contain _no live objects_. These abbreviated cycles are much shorter than a cycle that performs evacuation and update references and tend to lower the average cycle time used by the heuristic to predict cycle times. This may cause the heuristic to wait too long to initiate a cycle and may lead to degenerated cycles. This change has the heuristic ignore abbreviated cycle times by default, with an option to have the heuristic count them as it does now.
>
> William Kemper has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Rename option to ShenandoahAdaptiveIgnoreAbbreviated, remove unnecessary Amazon copyright from header

Withdrawing this PR because I cannot reproduce the results that compelled us to make this change in the `shenandoah` repo.

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

PR Comment: https://git.openjdk.org/jdk/pull/19640#issuecomment-2190036867


More information about the hotspot-gc-dev mailing list