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

Strongly consider removing -XX:+UnsyncloadClass from start scripts

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.1.1
    • Fix Version/s: 4.1.2, 4.2.0.M1
    • Component/s: None
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: