RFR: 8318190: GenShen: Be less aggressive with triggers for old-gen has expanded [v5]

Kelvin Nilsen kdnilsen at openjdk.org
Tue Oct 17 23:46:06 UTC 2023


> This patch reduces the frequency of old-has-grown triggers in the case that old usage is smaller than a particular threshold percentage (default value 5%) of the total heap size.  In this case, old is triggered for growth no more frequently than once every N cycles, where N defaults to 50.

Kelvin Nilsen has updated the pull request incrementally with two additional commits since the last revision:

 - Move consecutive young accounting into ShenandoahCollectorPolicy
   
   This change was requested by PR reviewer.
 - Simplify naming of of configuration parameters
   
   Remove Generational substring from the parameter names, as requested by
   reviewer feedback.

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

Changes:
  - all: https://git.openjdk.org/shenandoah/pull/341/files
  - new: https://git.openjdk.org/shenandoah/pull/341/files/b4071011..8f434fb9

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=shenandoah&pr=341&range=04
 - incr: https://webrevs.openjdk.org/?repo=shenandoah&pr=341&range=03-04

  Stats: 57 lines in 9 files changed: 20 ins; 19 del; 18 mod
  Patch: https://git.openjdk.org/shenandoah/pull/341.diff
  Fetch: git fetch https://git.openjdk.org/shenandoah.git pull/341/head:pull/341

PR: https://git.openjdk.org/shenandoah/pull/341


More information about the shenandoah-dev mailing list