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

William Kemper wkemper at openjdk.org
Tue Jun 11 22:36:26 UTC 2024


> 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

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/19640/files
  - new: https://git.openjdk.org/jdk/pull/19640/files/d8036f31..0028d3fa

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=19640&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=19640&range=00-01

  Stats: 3 lines in 2 files changed: 0 ins; 1 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/19640.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/19640/head:pull/19640

PR: https://git.openjdk.org/jdk/pull/19640


More information about the hotspot-gc-dev mailing list