You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Sylwester Lachiewicz (Jira)" <ji...@apache.org> on 2022/05/21 21:25:00 UTC
[jira] [Created] (HIVE-26255) Drop custom code for String deduplication inside URI class
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)