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

[lworld] Remove caches of primitive wrapper classes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • None
    • core-libs

      Valhalla changes the primitive wrapper classes from identity classes to value classes. As values, the cached small values in Byte, Short, Character, Integer, and Long are no longer valuable and should be removed.

      The specification needs to be changed to remove the guarantee about caching small values.

            rriggs Roger Riggs
            rriggs Roger Riggs
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: