RFR: 8308850: Change JVM options with small ranges that get -Wconversion warnings to 32 bits [v7]

Ioi Lam iklam at openjdk.org
Thu Aug 10 16:20:06 UTC 2023


On Thu, 10 Aug 2023 14:45:30 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.
>
> Afshin Zafari has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Fixed a missed option.

src/hotspot/share/jvmci/jvmciCompilerToVMInit.cpp line 261:

> 259:   do_int_flag(AllocatePrefetchLines)                                       \
> 260:   do_int_flag(AllocatePrefetchStepSize)                                    \
> 261:   do_int_flag(AllocatePrefetchStyle)                                       \

Why is AllocatePrefetchInstr not changed? It seems to use 0-3 only.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/15164#discussion_r1290366462


More information about the hotspot-dev mailing list