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

NormalizerImpl.canonStartSets is 64k of unused space

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 6
    • 6
    • core-libs
    • b72
    • generic
    • generic

      The variable sun.text.normalizer.NormalizerImpl.canonStartSets
      was discovered to be 16k Objects, almost all of which are null.
      I can't find any use of this array in the JDK, except to fill in the
      first four elements. Perhaps it could be eliminated,
      or perhaps

          static final int CANON_SET_MAX_CANON_SETS = 0x4000;
      should be
          static final int CANON_SET_MAX_CANON_SETS = 0x4;

            peytoia Yuka Kamiya (Inactive)
            martin Martin Buchholz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: