8252827: Caching Integer.toString just like Integer.valueOf
roger.riggs at oracle.com
Fri Apr 16 18:36:55 UTC 2021
Is there any way to quantify the savings?
And what technique can be applied to limit the size of the cache.
The size of the small integer cache is somewhat arbitrary.
On 4/16/21 12:48 PM, Raffaello Giulietti wrote:
> does the enhancement proposed in  make sense, both today and when
> wrappers will be migrated to primitive classes?
> If so, it should be rather simple to add it and I could prepare a PR.
> If not, the issue might perhaps be closed.
>  https://bugs.openjdk.java.net/browse/JDK-8252827
More information about the core-libs-dev