RFR(S) 8178118: Arguments::create_numbered_property allocates wrong buffer in case count > 99

serguei.spitsyn at oracle.com serguei.spitsyn at oracle.com
Wed Apr 5 23:31:02 UTC 2017

Hi Katya,

The fix looks good to me.


On 4/5/17 14:24, Ekaterina Pavlova wrote:
> Hi everyone,
> Please review this change that fixes memory allocation in Arguments::create_numbered_property.
> Also added error messages so java prints some hints except just exiting with "Error: Could not create the Java Virtual Machine"
> (tested by adding error in 'prop_len' calculation).
> This is perhaps zero day bug but it was recently discovered when testing with multiple '-add-exports' options.
>     bug: https://bugs.openjdk.java.net/browse/JDK-8178118
> webrev:  http://cr.openjdk.java.net/~iignatyev/epavlova/8178118/
> Tested by running jprt.
> -katya

More information about the hotspot-runtime-dev mailing list