RFR: 8281472: JVM options processing silently truncates large illegal options values [v2]

Xin Liu xliu at openjdk.java.net
Tue Mar 1 22:10:09 UTC 2022


On Tue, 1 Mar 2022 13:20:31 GMT, Harold Seigel <hseigel at openjdk.org> wrote:

>> Harold Seigel has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   add gtest, fix TestParallelGCThreads.java, and revise implementation
>
> Thanks Ioi and David for your reviews and assistance with this change!

hi, @hseigel, 

I run into build error on linux/i586. 
https://github.com/navyxliu/jdk/runs/5382424074?check_suite_focus=true

GlobalDefinitions.hpp says that `intx` is 32bit wide on a 32-bit system.  (intx)jint_max +1 should overflow on 32bit systems. could you take a look? 

--lx

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

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


More information about the hotspot-dev mailing list