Sylwester Lachiewicz created HIVE-26255:
-------------------------------------------
Summary: 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
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)