Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8267191

Avoid repeated SystemDictionaryShared::should_be_excluded calls

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 17
    • None
    • hotspot
    • b24

    Description

      SystemDictionaryShared::should_be_excluded is called during CDS dump time to see if a class should be excluded from the archive. This function calls itself to check super types. As a result, some classes many be checked more than once.

      The repeated calls slows down dumping. Also, If a class is excluded, we will see multiple warning messages like this, which is too verbose and confusing.

      Skipping org/eclipse/osgi/util/NLS: Signed JAR
      Skipping org/eclipse/osgi/util/NLS: Signed JAR
      Skipping org/eclipse/osgi/util/NLS: Signed JAR
      Skipping org/eclipse/osgi/util/NLS: Signed JAR

      Attachments

        Issue Links

          Activity

            People

              iklam Ioi Lam
              iklam Ioi Lam
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: