[
https://issues.apache.org/jira/browse/AVRO-4050?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Mollitor updated AVRO-4050:
---------------------------------
Summary: Deprecate MapUtil computeIfAbsent (was: Deprecate Map Util
ConcurrentHashMap)
> Deprecate MapUtil computeIfAbsent
> ---------------------------------
>
> Key: AVRO-4050
> URL: https://issues.apache.org/jira/browse/AVRO-4050
> Project: Apache Avro
> Issue Type: Improvement
> Components: java
> Affects Versions: 1.13.0
> Reporter: David Mollitor
> Assignee: David Mollitor
> Priority: Minor
>
> Since no longer supporting JDK 1.8, deprecated MapUtil method computeIfAbsent
> since the previous performance issue has been addressed starting in JDK9.
>
> *
> https://github.com/apache/avro/blob/main/lang/java/avro/src/main/java/org/apache/avro/util/MapUtil.java#L30
> *
> https://github.com/openjdk/jdk/blob/jdk-11%2B28/src/java.base/share/classes/java/util/concurrent/ConcurrentHashMap.java#L1717
--
This message was sent by Atlassian Jira
(v8.20.10#820010)