RFR: 8281455: Change JVM options with small ranges from 64 to 32 bits, for gc_globals.hpp [v3]

Afshin Zafari azafari at openjdk.org
Mon Jun 26 07:45:05 UTC 2023


On Fri, 9 Jun 2023 14:13:20 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

>> src/hotspot/share/gc/shared/gc_globals.hpp line 688:
>> 
>>> 686:           "Number of entries we will try to leave on the stack "            \
>>> 687:           "during parallel gc")                                             \
>>> 688:           range(0, SIZE_MAX)                                                \
>> 
>> This is a large increase in the max on 64bit platforms.
>
> Yes, you should revert the change from max_juint to SIZE_MAX.  Is the change to size_t a cleanup to remove a cast?

Reverted back to original.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/14259#discussion_r1241763202


More information about the hotspot-gc-dev mailing list