Optimize CharacterEncoding for US-ASCII

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 1.4.2
    • Affects Version/s: 1.4.2
    • Component/s: core-libs
    • None
    • mantis
    • generic
    • generic
    • Verified

      Investigation into traces of J2SE startup time has shown that
      sun.io.CharacterEncoding spends roughly 60 milliseconds during core
      libraries startup performing roughly 700 HashMap.put() operations
      mapping the name of an encoding to the name of the byte-to-character
      converter used for that encoding. At least the common US-ASCII case
      should be done up front and most of these calls avoided.

            Assignee:
            Kenneth Russell (Inactive)
            Reporter:
            Kenneth Russell (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: