Integer.valueOf cache should be configurable

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 6u14
    • Affects Version/s: 5.0, 7
    • Component/s: 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.

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: