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

    • Bug
    • Resolution: Not a Bug
    • Major
    • None
    • 7.3.0.GA.CR4
    • Scripts
    • 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

            lvydra Lukas Vydra
            jkasik@redhat.com Jan Kašík
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: