[ https://issues.apache.org/jira/browse/HIVE-21228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16762890#comment-16762890 ]
Hive QA commented on HIVE-21228: -------------------------------- Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12957911/HIVE-21228.02.patch {color:green}SUCCESS:{color} +1 due to 9 test(s) being added or modified. {color:green}SUCCESS:{color} +1 due to 15777 tests passed Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/15989/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/15989/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-15989/ Messages: {noformat} Executing org.apache.hive.ptest.execution.TestCheckPhase Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.YetusPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase {noformat} This message is automatically generated. ATTACHMENT ID: 12957911 - PreCommit-HIVE-Build > 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 > Attachments: HIVE-21228.01.patch, HIVE-21228.02.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)