Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-5196

Strongly consider removing -XX:+UnsyncloadClass from start scripts

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.1.1
    • 4.1.2, 4.2.0.M1
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

            jbonofre Jean-Baptiste Onofré
            h2o Holger Hoffstätte
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: