RFR: 8333925: Shenandoah: Heuristics should have an option to ignore abbreviated cycles
Kelvin Nilsen
kdnilsen at openjdk.org
Tue Jun 11 16:05:15 UTC 2024
On Mon, 10 Jun 2024 22:34:00 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.
Marked as reviewed by kdnilsen (no project role).
-------------
PR Review: https://git.openjdk.org/jdk/pull/19640#pullrequestreview-2110889128
More information about the shenandoah-dev
mailing list