RFR: 8373695: G1: Using a value near integer max for ActiveProcessorCount causes fatal crash
Stefan Karlsson
stefank at openjdk.org
Tue Dec 16 17:41:21 UTC 2025
On Mon, 15 Dec 2025 19:46:14 GMT, Jonas Norlinder <jnorlinder at openjdk.org> wrote:
> 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.
Could an alternative be to limit ParallelGCThreads?
-------------
PR Review: https://git.openjdk.org/jdk/pull/28831#pullrequestreview-3584239774
More information about the hotspot-gc-dev
mailing list