United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6807702 Integer.valueOf cache should be configurable
JDK-6807702 : Integer.valueOf cache should be configurable

Details
Type:
Bug
Submit Date:
2009-02-19
Status:
Resolved
Updated Date:
2013-03-20
Project Name:
JDK
Resolved Date:
2009-03-07
Component:
core-libs
OS:
linux,generic,windows_2000
Sub-Component:
java.lang
CPU:
x86,generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
5.0,7
Fixed Versions:
6u14 (b03)

Related Reports
Backport:
Duplicate:
Duplicate:
Relates:
Relates:
Relates:

Sub Tasks

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.

                                    

Comments
EVALUATION

As per description.
                                     
2009-02-25



Hardware and Software, Engineered to Work Together