Integrated: 8260928: InitArrayShortSize constraint func should print a helpful error message

Tobias Hartmann thartmann at openjdk.java.net
Wed Feb 3 08:13:42 UTC 2021


On Tue, 2 Feb 2021 11:31:34 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

This pull request has now been integrated.

Changeset: 91e6c755
Author:    Tobias Hartmann <thartmann at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/91e6c755
Stats:     3 lines in 1 file changed: 3 ins; 0 del; 0 mod

8260928: InitArrayShortSize constraint func should print a helpful error message

Reviewed-by: shade, chagedorn

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

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


More information about the hotspot-compiler-dev mailing list