Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-18914

-Xverbosegclog option is used even on IBM 8 Java

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Explained
    • Affects Version/s: 7.3.0.GA.CR4
    • Fix Version/s: None
    • Component/s: Scripts
    • Labels:
      None

      Description

      standalone.sh uses following oneliner to determine if EAP runs on OpenJ9 JDK:

      "$JAVA" -Xverbosegclog:"$JBOSS_LOG_DIR/gc.log" -version > /dev/null 2>&1 && OPEN_J9_JDK=true || OPEN_J9_JDK=false
      

      However the OPEN_J9_JDK is set to true even on IBM 8 JDK and this results to adding -Xverbosegclog:"$JBOSS_LOG_DIR/gc.log" into the start command.

      [root@rhel8-medium-156973 jboss-eap-7.3]# ./bin/standalone.sh
      =========================================================================
      
        JBoss Bootstrap Environment
      
        JBOSS_HOME: /home/hudson/users-tmp/jkasik/jboss-eap-7.3
      
        JAVA: /qa/tools/opt/x86_64/ibm-java-80/bin/java
      
        JAVA_OPTS:  -server -Xverbosegclog:"/home/hudson/users-tmp/jkasik/jboss-eap-7.3/standalone/log/gc.log" -Xms1303m -Xmx1303m -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true
      
      =========================================================================
      

      Is this expected?

        Attachments

          Activity

            People

            Assignee:
            lvydra Lukas Vydra
            Reporter:
            jkasik@redhat.com Jan Kasik
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: