RFR: 8373695: G1: Using a value near integer max for ActiveProcessorCount causes fatal crash [v2]

Jonas Norlinder jnorlinder at openjdk.org
Fri Dec 19 11:42:05 UTC 2025


> G1ConcRefinementThreads default value depends on ParallelGCThreads which in turn may depend on ActiveProcessorCount. These have different ranges that are valid. Patch will ensure argument setup code never try to assign a value larger than what G1ConcRefinementThreads expects.

Jonas Norlinder has updated the pull request incrementally with one additional commit since the last revision:

  Limit ParallelGCThreads

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/28831/files
  - new: https://git.openjdk.org/jdk/pull/28831/files/a7d72b06..416b88ed

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

  Stats: 9 lines in 5 files changed: 1 ins; 5 del; 3 mod
  Patch: https://git.openjdk.org/jdk/pull/28831.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/28831/head:pull/28831

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


More information about the hotspot-gc-dev mailing list