RFR: 8344548: Incorrect StartAggressiveSweepingAt doc for segmented code cache [v3]

guanqiang han duke at openjdk.org
Tue Jul 8 03:26:18 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.

guanqiang han has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains five additional commits since the last revision:

 - make description more precise
 - Merge remote-tracking branch 'upstream/master' into 8344548
 - correct a compile error
 - Merge remote-tracking branch 'upstream/master' into 8344548
 - 8344548: Incorrect StartAggressiveSweepingAt doc for segmented code cache
   
   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.

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/26114/files
  - new: https://git.openjdk.org/jdk/pull/26114/files/cb1b2c60..6b82418e

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

  Stats: 2179 lines in 96 files changed: 973 ins; 663 del; 543 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-compiler-dev mailing list