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

Running with -XX:-UseParallelGC does not turn ParalleGC off

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 8u40, 8u45, 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
      gc
    • Introduced In Version:
    • Resolved In Build:
      b115

      Description

      Executing this command line with JDK 8u40 b03 (or JDK 7):

      $ java -XX:-UseParallelGC -version

      will start the JVM with the SerialGC. Using the same command line in JDK 8u40 b09 will start with ParallelGC:

      $ /java -XX:+PrintFlagsFinal -XX:-UseParallelGC -version | grep UseParallelGC
           bool UseParallelGC := true {product}
      java version "1.8.0_40-ea"
      Java(TM) SE Runtime Environment (build 1.8.0_40-ea-b09)
      Java HotSpot(TM) 64-Bit Server VM (build 25.40-b13, mixed mode)

      While I think it is a bit odd to only say which GC you don't want I'm guessing that this is probably not an intended change.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                pliden Per Liden
                Reporter:
                brutisso Bengt Rutisson (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: