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

Caching Integer.toString just like Integer.valueOf

XMLWordPrintable

    • generic
    • generic

      A DESCRIPTION OF THE PROBLEM :
      String and int are the most used types,and Integer.toString(int) are most used too.
      Integer.toString may have a cache just like Integer.valueOf,it may save a lot of memory and gc time.


            smarks Stuart Marks
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: