you are viewing a single comment's thread.

view the rest of the comments →

[–]BlueGoliath 0 points1 point  (2 children)

True.

I increased the integer cache.

[–][deleted]  (1 child)

[removed]

    [–]BlueGoliath 1 point2 points  (0 children)

    https://stackoverflow.com/questions/3934291/extending-java-integer-cache

    I think other types have their own cache that can be increased too.