Integrated: 8373695: G1: Using a value near integer max for ActiveProcessorCount causes fatal crash

Jonas Norlinder jnorlinder at openjdk.org
Fri Jan 9 08:44:21 UTC 2026


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.

This pull request has now been integrated.

Changeset: a8552243
Author:    Jonas Norlinder <jnorlinder at openjdk.org>
Committer: Thomas Schatzl <tschatzl at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/a855224305e025aea80165ae63ee921dca299b9c
Stats:     3 lines in 1 file changed: 2 ins; 0 del; 1 mod

8373695: G1: Using a value near integer max for ActiveProcessorCount causes fatal crash

Reviewed-by: stefank, tschatzl

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

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


More information about the hotspot-gc-dev mailing list