RFR: 8308850: Change JVM options with small ranges from 64 to 32 bits, for globals.hpp
Coleen Phillimore
coleenp at openjdk.org
Sat Aug 5 16:24:28 UTC 2023
On Fri, 4 Aug 2023 17:41:50 GMT, Afshin Zafari <azafari at openjdk.org> wrote:
> The JVM options that are in range of `int` type are converted in `globals.hpp` and other files where affected.
>
> ### Tests
> tiers 1-4 passed for linux-x64, linux-x64-debug, windows-x64, windows-x64-debug
> tier1 all passed.
The argument checking code gives a nice error if you pass a negative value for a parameter in the range of 0 .. positive-number if the argument is an int, and a bad one if the argument is uint. That's why in previous changes, I've preferred changing to int. We could file an RFE to improve the error message though. I don't know how hard that would be to fix.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/15164#issuecomment-1666545492
More information about the graal-dev
mailing list