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

Tobias Hartmann thartmann at openjdk.java.net
Tue Feb 2 12:10:56 UTC 2021


> 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

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/2351/files
  - new: https://git.openjdk.java.net/jdk/pull/2351/files/92dd1316..bb87bdd8

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=2351&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=2351&range=00-01

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.java.net/jdk/pull/2351.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/2351/head:pull/2351

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


More information about the hotspot-compiler-dev mailing list