[
https://issues.apache.org/jira/browse/AVRO-4050?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17881805#comment-17881805
]
ASF subversion and git services commented on AVRO-4050:
-------------------------------------------------------
Commit 67ed33112465398db44ee9555d1791776ef8f0c7 in avro's branch
refs/heads/main from belugabehr
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=67ed33112 ]
AVRO-4050: Deprecate MapUtil computeIfAbsent (#3142)
> 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
> Labels: pull-request-available
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> 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)