Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8162881

Effect of -XX:CICompilerCount depends on ordering of other flags

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 9
    • hotspot
    • None
    • b133

      While trying to profile some issue I noticed there is this ordering necessary on the cmd line options otherwise the JVM exits.

       14:12:07 $ /opt/jdk-9-b125/bin/java -XX:TieredStopAtLevel=1 -XX:CICompilerCount=1 -version
      java version "9-ea"
      Java(TM) SE Runtime Environment (build 9-ea+125)
      Java HotSpot(TM) 64-Bit Server VM (build 9-ea+125, mixed mode)

       14:12:17 $ /opt/jdk-9-b125/bin/java -XX:CICompilerCount=1 -XX:TieredStopAtLevel=1 -versionCICompilerCount (1) must be at least 2
      Improperly specified VM option 'CICompilerCount=1'
      Error: Could not create the Java Virtual Machine.
      Error: A fatal exception has occurred. Program will exit.

            thartmann Tobias Hartmann
            ecaspole Eric Caspole
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: