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

duke duke at openjdk.org
Thu Jan 8 09:34:40 UTC 2026


On Wed, 7 Jan 2026 13:13:20 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.
>
> Jonas Norlinder has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Use API over hardcoded values

@JonasNorlinder 
Your change (at version 62f78a133e4c46426c4087d2c6d9b9b7cd37990b) is now ready to be sponsored by a Committer.

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

PR Comment: https://git.openjdk.org/jdk/pull/28831#issuecomment-3722994388


More information about the hotspot-gc-dev mailing list