You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2022/01/05 06:46:00 UTC

[jira] [Commented] (AVRO-3243) avro When using the computeIfAbsent, there will be lock grab conflicts, affecting performance

    [ https://issues.apache.org/jira/browse/AVRO-3243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17469047#comment-17469047 ] 

ASF subversion and git services commented on AVRO-3243:
-------------------------------------------------------

Commit 33d86a61a9d225d83349ffbda21d2b31eeefe7ac in avro's branch refs/heads/dependabot/cargo/lang/rust/crc-2.1.0 from Martin Grigorov
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=33d86a6 ]

AVRO-3243: Workaround JDK-8161372 - perf issue in ConcurrentHashMap#computeIfAbsent() (#1392)



> avro When using the computeIfAbsent, there will be lock grab conflicts, affecting performance
> ---------------------------------------------------------------------------------------------
>
>                 Key: AVRO-3243
>                 URL: https://issues.apache.org/jira/browse/AVRO-3243
>             Project: Apache Avro
>          Issue Type: Improvement
>            Reporter: tuunalai
>            Assignee: Martin Tzvetanov Grigorov
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.11.1
>
>         Attachments: image-2021-11-01-20-46-53-977.png
>
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> !image-2021-11-01-20-46-53-977.png!
> like this ,the thread will be blocked.
>  
> I just find a solution, [https://cloud.tencent.com/developer/article/1822772.]
>  
> can you fix the problem in next version?



--
This message was sent by Atlassian Jira
(v8.20.1#820001)