[ 
https://issues.apache.org/jira/browse/HIVE-21228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Zoltan Haindrich updated HIVE-21228:
------------------------------------
       Resolution: Fixed
    Fix Version/s: 4.0.0
           Status: Resolved  (was: Patch Available)

pushed to master. Thank you [~isuller] for taking care of this

> Replace all occurences of new Integer with Integer.valueOf
> ----------------------------------------------------------
>
>                 Key: HIVE-21228
>                 URL: https://issues.apache.org/jira/browse/HIVE-21228
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Ivan Suller
>            Assignee: Ivan Suller
>            Priority: Trivial
>             Fix For: 4.0.0
>
>         Attachments: HIVE-21228.01.patch, HIVE-21228.02.patch, 
> HIVE-21228.03.patch
>
>
> Creating Integer objects with new Integer(...) creates a new object, while 
> Integer.valueOf(...) can be cached (and is actually cached in most if not all 
> JVMs) thus reducing GC overhead.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to