[ https://issues.apache.org/jira/browse/HIVE-21297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16774150#comment-16774150 ]
Hive QA commented on HIVE-21297: -------------------------------- Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12959440/HIVE-21297.01.patch {color:green}SUCCESS:{color} +1 due to 13 test(s) being added or modified. {color:green}SUCCESS:{color} +1 due to 15809 tests passed Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/16180/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/16180/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-16180/ 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: 12959440 - PreCommit-HIVE-Build > Replace all occurences of new Long, Boolean, Double etc with the > corresponding .valueOf > --------------------------------------------------------------------------------------- > > Key: HIVE-21297 > URL: https://issues.apache.org/jira/browse/HIVE-21297 > Project: Hive > Issue Type: Improvement > Reporter: Ivan Suller > Assignee: Ivan Suller > Priority: Trivial > Fix For: 4.0.0 > > Attachments: HIVE-21297.01.patch > > > Creating new objects with new Long(...), new Boolean etc creates a new > object, while Long.valueOf(...), Boolean.valueOf(...) can be cached (and is > actually cached in most if not all JVMs) thus reducing GC overhead. I already > had two similar tickets (HIVE-21228, HIVE-21199) - this one finishes the job. -- This message was sent by Atlassian JIRA (v7.6.3#76005)