[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-hotspot-dev
Subject:    Re: RFR: 8281472: JVM options processing silently truncates large illegal options values
From:       Harold Seigel <hseigel () openjdk ! java ! net>
Date:       2022-02-25 14:24:01
Message-ID: p4Y3iMyZLKtgzV7iofIqimyfb3LotSOaj-UF0XJC5dc=.08f9f7f6-ad3a-4694-ac58-19c868062475 () github ! com
[Download RAW message or body]

On Thu, 17 Feb 2022 19:09:26 GMT, Harold Seigel <hseigel@openjdk.org> wrote:

> Please review this change to fix JDK-8281472.  The fix prevents truncation of large \
> illegal option values by rejecting those values if they exceed the range of their \
> type.  For example, it rejects values of int options that are not between max_int \
> and min_int. 
> The fix was tested by running Mach5 tiers 1-2 on Linux, Mac OS, and Windows, and \
> Mach5 tiers 3-5 on Linux-x64 and Windows-x64. 
> Thanks, Harold

This new commit replaces the JTReg test with a gtest as suggested by David, has a \
revised implementatin suggested by Ioi, and fixes TestParallelGCThreads.java.

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

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic