-
Bug
-
Resolution: Fixed
-
P3
-
11, 12, 13, 14, 15
-
b15
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8247406 | 13.0.4 | Vladimir Kozlov | P3 | Resolved | Fixed | b05 |
JDK-8242111 | 11.0.8-oracle | Vladimir Kozlov | P3 | Resolved | Fixed | b02 |
JDK-8243132 | 11.0.8 | Vladimir Kozlov | P3 | Resolved | Fixed | b01 |
There should be a reasonable range check for this flag, so it doesn't use excessive memory.
Currently, -XX:JVMCICounterSize=2147483648 is actually tested by
runtime/CommandLine/OptionsValidation/TestOptionsWithRanges.java. However, -XX:+EnableJVMCI is not specified, so the JVM fails to launch with
Improperly specified VM option 'JVMCICounterSize': 'EnableJVMCI' must be enabled
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
However, if this test is executed with -XX:+EnableJVMCI, it will allocate so much memory that my machine will be unresponsive for about 2 minuets.
Currently, -XX:JVMCICounterSize=2147483648 is actually tested by
runtime/CommandLine/OptionsValidation/TestOptionsWithRanges.java. However, -XX:+EnableJVMCI is not specified, so the JVM fails to launch with
Improperly specified VM option 'JVMCICounterSize': 'EnableJVMCI' must be enabled
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
However, if this test is executed with -XX:+EnableJVMCI, it will allocate so much memory that my machine will be unresponsive for about 2 minuets.
- backported by
-
JDK-8242111 JVM uses excessive memory with -XX:+EnableJVMCI -XX:JVMCICounterSize=2147483648
- Resolved
-
JDK-8243132 JVM uses excessive memory with -XX:+EnableJVMCI -XX:JVMCICounterSize=2147483648
- Resolved
-
JDK-8247406 JVM uses excessive memory with -XX:+EnableJVMCI -XX:JVMCICounterSize=2147483648
- Resolved