JDK-8038393 : [TESTBUG] ciReplay/* tests fail after 8034775
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 9
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2014-03-26
  • Updated: 2015-01-21
  • Resolved: 2014-03-29
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8 JDK 9
8u40Fixed 9 b08Fixed
Related Reports
Relates :  
Description
JDK-8034775 makes impossible to create VM w/ enabled tiered compilation and CICompilerCount explicitly set to 1:
CICompilerCount of 1 is invalid; must be at least 2
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

suggested fix:
diff --git a/test/compiler/ciReplay/common.sh b/test/compiler/ciReplay/common.sh
--- a/test/compiler/ciReplay/common.sh
+++ b/test/compiler/ciReplay/common.sh
@@ -218,7 +218,7 @@
             -XX:VMThreadStackSize=512 \
             -XX:CompilerThreadStackSize=512 \
             -XX:ParallelGCThreads=1 \
-            -XX:CICompilerCount=1 \
+            -XX:CICompilerCount=2 \
             -Xcomp \
             -XX:CICrashAt=1 \
             -XX:+CreateMinidumpOnCrash \


Comments
Problem: - ciReplay/* tests can't create VM Root cause: - the tests specified '-XX:CICompilerCount=1', but after 8034775 it's impossible to specify '-XX:CICompilerCount=1' w/ enabled TieredCompilation. Fix: - CICompilerCount=1 replaced by CICompilerCount=2
24-04-2014