[jboss-jira] [JBoss JIRA] (WFCORE-4688) '-Xlog:gc' option is not supported on OpenJDK11 + OpenJ9

James Perkins (Jira) issues at jboss.org
Mon Sep 30 13:20:00 EDT 2019


     [ https://issues.jboss.org/browse/WFCORE-4688?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Perkins moved JBEAP-17672 to WFCORE-4688:
-----------------------------------------------

              Project: WildFly Core  (was: JBoss Enterprise Application Platform)
                  Key: WFCORE-4688  (was: JBEAP-17672)
             Workflow: GIT Pull Request workflow   (was: CDW with loose statuses v1)
          Component/s: Scripts
                           (was: Scripts)
    Affects Version/s:     (was: 7.3.0.Beta)


> '-Xlog:gc' option is not supported on OpenJDK11 + OpenJ9
> --------------------------------------------------------
>
>                 Key: WFCORE-4688
>                 URL: https://issues.jboss.org/browse/WFCORE-4688
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: Scripts
>            Reporter: Jan Stourac
>            Assignee: James Perkins
>            Priority: Major
>
> With OpenJDK11 + OpenJ9, I can see following error during the server bootup:
> {code}
> JVMJ9VM085W Malformed option: '-Xlog:gc*:file=<JBOSS_HOME_PATH>/standalone/log/gc.log:time'
> {code}
> Based on the [discussion here|https://github.com/eclipse/openj9/issues/3999], the {{-Xlog:gc}} option is not supported in this JDK and it won't be.
> Relevant part of the startup script for standalone.sh in [upstream WildFly|https://github.com/wildfly/wildfly-core/blob/master/core-feature-pack/src/main/resources/content/bin/standalone.sh#L281].
> This warning occurs only on OpenJDK11 + OpenJ9. This does not show up when using OpenJDK8 + OpenJ9 as different branch in script is used in that case ({{-verbose:gc -Xloggc:\"$JBOSS_LOG_DIR/gc.log\" -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=5 -XX:GCLogFileSize=3M -XX:-TraceClassUnloading}}).



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the jboss-jira mailing list