-
Notifications
You must be signed in to change notification settings - Fork 8k
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
fix concurrentHashMap get and put in large numbers concurrency #1918
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
The Anyway, using |
Oh, If we make sure it's a local variable, how about we use How do you think about it? @samuelxw @linlinisme @jasonjoo2010 @sczyh30 |
Sorry, I didn't read it carefully. Although it is a local variable in the fetchonce method, it is shared by multiple threads. |
Improve MetricFetcher under concurrent conditions (alibaba#1918)
fix concurrentHashMap get and put in large numbers concurrency when MetricFetcher handler response from client