[ 
https://issues.apache.org/jira/browse/HIVE-26255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17540827#comment-17540827
 ] 

Peter Vary commented on HIVE-26255:
-----------------------------------

[~slachiewicz]: Which version of Java have you tried? We have a jira for 
upgrading to java 11: HIVE-22415

> Drop custom code for String deduplication inside URI class
> ----------------------------------------------------------
>
>                 Key: HIVE-26255
>                 URL: https://issues.apache.org/jira/browse/HIVE-26255
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Sylwester Lachiewicz
>            Priority: Minor
>
> We have class 
> [https://github.com/apache/hive/blob/master/common/src/java/org/apache/hadoop/hive/common/StringInternUtils.java]
>  to do String.intern() inside the URI class via reflection.
> Instead, we can recommend using newer java and enabling String deduplication 
> https://localcoder.org/is-string-deduplication-feature-of-the-g1-garbage-collector-enabled-by-default
> -XX:+UseG1GC -XX:+UseStringDeduplication
>  



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to