RFR: 8277985: G1: Compare max_parallel_refinement_threads to UINT_MAX

Kim Barrett kbarrett at openjdk.java.net
Tue Nov 30 15:41:11 UTC 2021


On Tue, 30 Nov 2021 14:56:02 GMT, Leo Korinth <lkorinth at openjdk.org> wrote:

> The max_parallel_refinement_threads comparison will never be larger than UINTPTR_MAX / divisor on platforms where pointers are larger than unsigned,   Use the intended UINT_MAX instead.

Looks good.

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

Marked as reviewed by kbarrett (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/6617


More information about the hotspot-gc-dev mailing list