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

Integer.valueOf cache should be configurable

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 6u14
    • 5.0, 7
    • core-libs
    • b03
    • generic, x86
    • generic, linux, windows_2000

        j.l.Integer has a cache to support the object identity semantics of autoboxing for values between -128 and 127 (inclusive). Some applications/benchmarks benefit from a larger cache and HotSpot already has the ability to configure a larger cache if supported by the Integer implementation.

              alanb Alan Bateman
              alanb Alan Bateman
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: