RFR: 8354452: Shenandoah: Enforce range checks on parameters controlling heuristic sleep times

William Kemper wkemper at openjdk.org
Fri Apr 11 20:46:01 UTC 2025


Without enforcing limits on `ShenandoahControlIntervalMin` and `ShenandoahControlIntervalMax`, the user may supply values that cause assertions to fail.

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

Commit messages:
 - Enforce limits on control thread's minimum and maximum sleep times

Changes: https://git.openjdk.org/jdk/pull/24602/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=24602&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8354452
  Stats: 2 lines in 1 file changed: 2 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/24602.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/24602/head:pull/24602

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


More information about the shenandoah-dev mailing list