[
https://issues.apache.org/jira/browse/HIVE-26255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17540829#comment-17540829
]
Peter Vary commented on HIVE-26255:
-----------------------------------
Maybe related to the Java upgrade
> 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)