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

Skip name and alias checks for standard Charsets

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P5 P5
    • 10
    • None
    • core-libs

      Since 9 we will always load the US-ASCII, ISO-8859-1 and UTF-8 Charsets, which makes it reasonable to optimize startup time for these three in particular.

      By skipping the name checks we see a reduction in bytecode executed during startup by around 7k.

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

              Created:
              Updated:
              Resolved: