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

sun.nio.cs.StandardCharsets$Aliases and Classes can be lazily loaded

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 10
    • 10
    • core-libs

      The Aliases and Classes inner classes in StandardCharsets can be lazily-loaded by restructuring how we check for the three default-loaded charsets. This removes some classloading from System.initPhase1 and brings a small net reduction in code executed during startup on systems that default to any of the three standard charsets (UTF-8, Latin-1, ASCII).

            redestad Claes Redestad
            redestad Claes Redestad
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: