-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[improve][broker] Replace all ConcurrentOpenHashMap with the official ConcurrentHashMap in JDK #23216
Conversation
Hi, the change looks make sense. To express the |
Good suggestion. I will adopt this suggestion. BTW, I will split this PR into multiple parts because of there are many changes. So let me mark it drafted now and push more PRs. |
Closing since the changes have been made in other PRs. |
Motivation
See #23215
Modifications
For broker related modules, including
pulsar-broker
,pulsar-websocket
,managed-ledger
,ConcurrentOpenHashMap<T>
withConcurrentHashMap<T>
ConcurrentOpenHashSet<T>
fields withConcurrentHashMap<T, Boolean>
ConcurrentOpenHashSet
since it's never used nowDocumentation
doc
doc-required
doc-not-needed
doc-complete
Matching PR in forked repository
PR in forked repository: BewareMyPower#34