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

Restructure Character.java Latin-1 optimization

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.2
    • 1.4.2
    • core-libs
    • None
    • mantis
    • generic
    • generic

      The startup time optimization detailed in 4747361 yields significant benefits
      in startup time, but the logic in each of the affected accessors in
      Character.java is fairly complicated. The failure case, where each of the
      arms of the "if" statements is evaluated, is likely to be costly.

      GenerateCharacter should be modified to generate a Latin-1 table as well as the
      full Unicode table. These tables could go into a new "CharacterDataLatin1" class
      after the current refactoring into Character.java and CharacterData.java.
      This work should be done in conjunction with the general Unicode optimization
      in 4756453. If the startup time benefit for a simple Hello, World command-line
      application of having the additional Latin-1 table over the general optimization
      is less than 5%, the Latin-1 optimizations can be removed completely.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: