Hi,
please review the following patch for JDK-8139377.
Bug: https://bugs.openjdk.java.net/browse/JDK-8139377
Problem: JDK-8078554 defined a valid range for compiler-related
command-line flags. The JVM checks at runtime if the value of each flag
is within the range defined for the flag. JEP 243 (Java-Level JVM
Compiler Interface) increased the value of TypeProfileWidth to 8 that is
outside of the currently defined range for that flag.
Solution: Increase the upper bound of TypeProfileWidth to 8. I also
tried to increase the value to 16 but that value triggers an assert on
one of our supported platforms.
Webrev:
http://cr.openjdk.java.net/~zmajo/8139377/webrev.00/
Testing:
- all tests in hotspot/test/runtime/CommandLine on all supported
platforms, all tests pass;
- JPRT (testset hotspot), all tests pass.
Thank you and best regards,
Zoltan