Ivan Suller created HIVE-21228: ---------------------------------- Summary: 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
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)