RFR: 8260928: InitArrayShortSize constraint func should print a helpful error message [v2]

Christian Hagedorn chagedorn at openjdk.java.net
Tue Feb 2 13:26:42 UTC 2021


On Tue, 2 Feb 2021 12:10:56 GMT, Tobias Hartmann <thartmann at openjdk.org> wrote:

>> The `InitArrayShortSize` flag requires a value that is a multiple of `BytesPerLong` but no corresponding error message is printed:
>> java -XX:InitArrayShortSize=7
>> Error: Could not create the Java Virtual Machine.
>> Error: A fatal exception has occurred. Program will exit.
>> 
>> Thanks,
>> Tobias
>
> Tobias Hartmann has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Fixed intendation

Looks good.

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

Marked as reviewed by chagedorn (Reviewer).

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


More information about the hotspot-compiler-dev mailing list