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

Integer.valueOf cache should be configurable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 5.0, 7
    • Fix Version/s: 6u14
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b03
    • CPU:
      generic, x86
    • OS:
      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

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

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: