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

Increase cache in java.nio.charset.Charset

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P5 P5
    • None
    • 7
    • core-libs

      A DESCRIPTION OF THE REQUEST :
      In class Charset a small cache of size 2 is implemented.
      I suggest to increase the size to 3.

      JUSTIFICATION :
      In debugging sessions I have found out, that usage of 3 charsets at same time is usual case.
      On my system, "UTF-8" and "windows-1252" are often alternately used from system request. If user requests an additional charset, the charsets are alternately thrown out of this cache.

            Unassigned Unassigned
            ndcosta Nelson Dcosta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: