RFR: 8344548: Incorrect StartAggressiveSweepingAt doc for segmented code cache

h yongheng_hgq at 126.com
Fri Jul 4 06:27:11 UTC 2025


Hi all,



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://github.com/openjdk/jdk/pull/26114/files 
  Webrev: https://openjdk.github.io/cr/?repo=jdk&pr=26114&range=00 
  Issue: https://bugs.openjdk.org/browse/JDK-8344548 
  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://github.com/openjdk/jdk/pull/26114 


BR
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/hotspot-compiler-dev/attachments/20250704/d0f5748c/attachment.htm>


More information about the hotspot-compiler-dev mailing list