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

Optimize CharacterEncoding for US-ASCII

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.2
    • 1.4.2
    • 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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: