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

Skip name and alias checks for standard Charsets

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P5
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10
    • Component/s: core-libs

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: