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

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 10
    • Affects Version/s: 10
    • Component/s: 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).

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

              Created:
              Updated:
              Resolved: