[jboss-jira] [JBoss JIRA] (WFCORE-4115) JDK11 - GC logging format needs to be reviewed

James Perkins (Jira) issues at jboss.org
Wed Nov 7 20:49:00 EST 2018


    [ https://issues.jboss.org/browse/WFCORE-4115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13658558#comment-13658558 ] 

James Perkins commented on WFCORE-4115:
---------------------------------------

I do believe Java 9+ defaults to G1GC, however the format difference is because of [JEP 271|http://openjdk.java.net/jeps/271]. That JEP reimplemented GC logging which leads to the new format. In the "Non Goals" it states:
{quote}
Non-Goals
It is not a goal to ensure that current GC log parsers work without change on the new GC logs.

Not all log entries will necessarily be reproduced in the new logging format.
{quote} 

Essentially there's nothing we can do. We'll have to use a new parser.

> JDK11 - GC logging format needs to be reviewed
> ----------------------------------------------
>
>                 Key: WFCORE-4115
>                 URL: https://issues.jboss.org/browse/WFCORE-4115
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: Scripts, Server
>            Reporter: Marek Kopecký
>            Assignee: James Perkins
>            Priority: Major
>              Labels: Java11, jdk11
>         Attachments: java-11-gc.log, java-8-gc.log
>
>
> * Weird naming of gc log files
> ** I test this with JDK11
> ** I start standalone and stop standalone
> ** JDK10 creates JBOSS_HOME/standalone/log/gc.log (with detailed information) and JBOSS_HOME/standalone/log/gc.log.0 (with brief summary of gc logging)
> ** I start standalone and stop standalone again
> ** JDK10 moves original gc.log to gc.log.1
> ** JDK10 keep original gc.log.0
> ** JDK10 creates new gc.log (with detailed information) and gc.log.2 (with brief summary of gc logging)
> ** Can this be changed by GC settings?
> * GC logs are much more verbose against jdk8 gc logs. Can this be fixed by some JDK10 gc settings? 
> This is follow up for WFCORE-3996



--
This message was sent by Atlassian Jira
(v7.12.1#712002)



More information about the jboss-jira mailing list