RFR: 8344548: Incorrect StartAggressiveSweepingAt doc for segmented code cache

hanguanqiang duke at openjdk.org
Thu Jul 3 11:34:19 UTC 2025


The flag StartAggressiveSweepingAt triggers aggressive code cache sweeping based on the percentage of free space in the entire code cache. The previous description referenced segmented vs non-segmented code cache, which is confusing and does not reflect the current implementation.

This patch updates the flag description to clearly state that the threshold is based on the total code cache free percentage, regardless of segmentation.

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

Commit messages:
 - 8344548: Incorrect StartAggressiveSweepingAt doc for segmented code cache

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

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


More information about the hotspot-runtime-dev mailing list