Uploaded image for project: 'OpenJDK'
  1. OpenJDK
  2. OPENJDK-619

Don't set ParallelGCThreads explicitly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • None
    • container
    • None
    • False
    • Hide

      None

      Show
      None
    • False

      In this line of java-default-options, we set the JVM parameter -XX:ParallelGCThreads based on a calculated "core_limit" value, the number of CPU cores the container has been assigned.

      https://github.com/jboss-container-images/openjdk/blob/develop/modules/jvm/bash/artifacts/opt/jboss/container/java/jvm/java-default-options#L127

      The JVM , by default, will do the same thing, so we do not need to specify this. Also this does not make sense to specify if the GC is changed from ParallelGC to another by the user. Therefore, we should remove that parameter from the script.

              jdowland@redhat.com Jonathan Dowland
              jdowland@redhat.com Jonathan Dowland
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: