[jira] [Updated] (HIVE-21199) Replace all occurences of new Byte with Byte.valueOf

2019-02-06 Thread Zoltan Haindrich (JIRA)


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

Zoltan Haindrich updated HIVE-21199:

   Resolution: Fixed
Fix Version/s: 4.0.0
   Status: Resolved  (was: Patch Available)

pushed to master. Thank you [~isuller]!

> Replace all occurences of new Byte with Byte.valueOf
> 
>
> Key: HIVE-21199
> URL: https://issues.apache.org/jira/browse/HIVE-21199
> Project: Hive
>  Issue Type: Improvement
>  Components: HiveServer2
>Reporter: Ivan Suller
>Assignee: Ivan Suller
>Priority: Trivial
> Fix For: 4.0.0
>
> Attachments: HIVE-21199.01.patch, HIVE-21199.02.patch, 
> HIVE-21199.03.patch, HIVE-21199.04.patch, HIVE-21199.05.patch
>
>
> Creating Byte objects with new Byte(...) creates a new object, while 
> Byte.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)


[jira] [Updated] (HIVE-21199) Replace all occurences of new Byte with Byte.valueOf

2019-02-06 Thread Ivan Suller (JIRA)


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

Ivan Suller updated HIVE-21199:
---
Attachment: HIVE-21199.05.patch

> Replace all occurences of new Byte with Byte.valueOf
> 
>
> Key: HIVE-21199
> URL: https://issues.apache.org/jira/browse/HIVE-21199
> Project: Hive
>  Issue Type: Improvement
>  Components: HiveServer2
>Reporter: Ivan Suller
>Assignee: Ivan Suller
>Priority: Trivial
> Attachments: HIVE-21199.01.patch, HIVE-21199.02.patch, 
> HIVE-21199.03.patch, HIVE-21199.04.patch, HIVE-21199.05.patch
>
>
> Creating Byte objects with new Byte(...) creates a new object, while 
> Byte.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)


[jira] [Updated] (HIVE-21199) Replace all occurences of new Byte with Byte.valueOf

2019-02-04 Thread Ivan Suller (JIRA)


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

Ivan Suller updated HIVE-21199:
---
Attachment: HIVE-21199.04.patch

> Replace all occurences of new Byte with Byte.valueOf
> 
>
> Key: HIVE-21199
> URL: https://issues.apache.org/jira/browse/HIVE-21199
> Project: Hive
>  Issue Type: Improvement
>  Components: HiveServer2
>Reporter: Ivan Suller
>Assignee: Ivan Suller
>Priority: Trivial
> Attachments: HIVE-21199.01.patch, HIVE-21199.02.patch, 
> HIVE-21199.03.patch, HIVE-21199.04.patch
>
>
> Creating Byte objects with new Byte(...) creates a new object, while 
> Byte.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)


[jira] [Updated] (HIVE-21199) Replace all occurences of new Byte with Byte.valueOf

2019-02-04 Thread Ivan Suller (JIRA)


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

Ivan Suller updated HIVE-21199:
---
Attachment: HIVE-21199.03.patch

> Replace all occurences of new Byte with Byte.valueOf
> 
>
> Key: HIVE-21199
> URL: https://issues.apache.org/jira/browse/HIVE-21199
> Project: Hive
>  Issue Type: Improvement
>  Components: HiveServer2
>Reporter: Ivan Suller
>Assignee: Ivan Suller
>Priority: Trivial
> Attachments: HIVE-21199.01.patch, HIVE-21199.02.patch, 
> HIVE-21199.03.patch
>
>
> Creating Byte objects with new Byte(...) creates a new object, while 
> Byte.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)


[jira] [Updated] (HIVE-21199) Replace all occurences of new Byte with Byte.valueOf

2019-02-04 Thread Ivan Suller (JIRA)


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

Ivan Suller updated HIVE-21199:
---
Status: Patch Available  (was: In Progress)

> Replace all occurences of new Byte with Byte.valueOf
> 
>
> Key: HIVE-21199
> URL: https://issues.apache.org/jira/browse/HIVE-21199
> Project: Hive
>  Issue Type: Improvement
>  Components: HiveServer2
>Reporter: Ivan Suller
>Assignee: Ivan Suller
>Priority: Trivial
> Attachments: HIVE-21199.01.patch
>
>
> Creating Byte objects with new Byte(...) creates a new object, while 
> Byte.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)


[jira] [Updated] (HIVE-21199) Replace all occurences of new Byte with Byte.valueOf

2019-02-04 Thread Ivan Suller (JIRA)


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

Ivan Suller updated HIVE-21199:
---
Attachment: HIVE-21199.02.patch

> Replace all occurences of new Byte with Byte.valueOf
> 
>
> Key: HIVE-21199
> URL: https://issues.apache.org/jira/browse/HIVE-21199
> Project: Hive
>  Issue Type: Improvement
>  Components: HiveServer2
>Reporter: Ivan Suller
>Assignee: Ivan Suller
>Priority: Trivial
> Attachments: HIVE-21199.01.patch, HIVE-21199.02.patch
>
>
> Creating Byte objects with new Byte(...) creates a new object, while 
> Byte.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)


[jira] [Updated] (HIVE-21199) Replace all occurences of new Byte with Byte.valueOf

2019-02-04 Thread Ivan Suller (JIRA)


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

Ivan Suller updated HIVE-21199:
---
Status: In Progress  (was: Patch Available)

> Replace all occurences of new Byte with Byte.valueOf
> 
>
> Key: HIVE-21199
> URL: https://issues.apache.org/jira/browse/HIVE-21199
> Project: Hive
>  Issue Type: Improvement
>  Components: HiveServer2
>Reporter: Ivan Suller
>Assignee: Ivan Suller
>Priority: Trivial
> Attachments: HIVE-21199.01.patch
>
>
> Creating Byte objects with new Byte(...) creates a new object, while 
> Byte.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)


[jira] [Updated] (HIVE-21199) Replace all occurences of new Byte with Byte.valueOf

2019-02-01 Thread Ivan Suller (JIRA)


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

Ivan Suller updated HIVE-21199:
---
Status: Patch Available  (was: In Progress)

> Replace all occurences of new Byte with Byte.valueOf
> 
>
> Key: HIVE-21199
> URL: https://issues.apache.org/jira/browse/HIVE-21199
> Project: Hive
>  Issue Type: Improvement
>  Components: HiveServer2
>Reporter: Ivan Suller
>Assignee: Ivan Suller
>Priority: Trivial
> Attachments: HIVE-21199.01.patch
>
>
> Creating Byte objects with new Byte(...) creates a new object, while 
> Byte.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)


[jira] [Updated] (HIVE-21199) Replace all occurences of new Byte with Byte.valueOf

2019-02-01 Thread Ivan Suller (JIRA)


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

Ivan Suller updated HIVE-21199:
---
Attachment: HIVE-21199.01.patch

> Replace all occurences of new Byte with Byte.valueOf
> 
>
> Key: HIVE-21199
> URL: https://issues.apache.org/jira/browse/HIVE-21199
> Project: Hive
>  Issue Type: Improvement
>  Components: HiveServer2
>Reporter: Ivan Suller
>Assignee: Ivan Suller
>Priority: Trivial
> Attachments: HIVE-21199.01.patch
>
>
> Creating Byte objects with new Byte(...) creates a new object, while 
> Byte.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)