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

Integer.valueOf cache should be configurable

    XMLWordPrintable

Details

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

    Backports

      Description

        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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: