[
https://issues.apache.org/jira/browse/KAFKA-17023?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17856944#comment-17856944
]
Chia-Ping Tsai commented on KAFKA-17023:
----------------------------------------
noticed that `PCollectionsImmutableMap` does not declare thread-safe, and so we
need to use `volatile` to make it run with multi-thread (see `AclCache` for
example)
> add PCollectionsImmutableMap to ConcurrentMapBenchmark
> ------------------------------------------------------
>
> Key: KAFKA-17023
> URL: https://issues.apache.org/jira/browse/KAFKA-17023
> Project: Kafka
> Issue Type: Improvement
> Reporter: Chia-Ping Tsai
> Assignee: TaiJuWu
> Priority: Minor
>
> PCollectionsImmutableMap is used in code base, and so we should consider add
> it to benchmark :)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)