karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Commented] (KARAF-5196) Strongly consider removing -XX:+UnsyncloadClass from start scripts
Date Sun, 11 Jun 2017 20:07:20 GMT

    [ https://issues.apache.org/jira/browse/KARAF-5196?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16046088#comment-16046088

Jean-Baptiste Onofré commented on KARAF-5196:

Agree, it's something that I wanted to double check for a while. Especially parallel class
unloaded is not "required", especially with Java8.

> Strongly consider removing -XX:+UnsyncloadClass from start scripts
> ------------------------------------------------------------------
>                 Key: KARAF-5196
>                 URL: https://issues.apache.org/jira/browse/KARAF-5196
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 4.1.1
>            Reporter: Holger Hoffstätte
>            Assignee: Jean-Baptiste Onofré
> I was just very confused when I saw that a customer JVM was running with -XX:+UnsyncloadClass
active; I always run with proper JAVA_OPTS so I never saw it before. This flag is very questionable
and even has its own JDK bug: https://bugs.openjdk.java.net/browse/JDK-8140284
> Please consider removing it from the default scripts. Even if there is/was a valid reason
it seems questionable to rely on it, considering what it does.

This message was sent by Atlassian JIRA

View raw message