-
Notifications
You must be signed in to change notification settings - Fork 8.9k
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
HDFS-16233. Do not use exception handler to implement copy-on-write for EnumCounters. #3468
Conversation
…or EnumCounters. Change-Id: Ia72916b54773ce775cb767a1867958611780747f
💔 -1 overall
This message was automatically generated. |
LGTM besides removing the unused import. It's a bit less elegant since we have to do type checking, but I agree that it is worth it for the performance benefit. |
FWIW, +1 (non-binding) |
Change-Id: I0767b277b8e0a6b5d718dabe756b99a89137a75d
💔 -1 overall
This message was automatically generated. |
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!
Merged to |
Description of PR
Async profiler finds the COW of EnumCounters is expensive. Propose a new implementation to reduce the cost.
How was this patch tested?
Performance optimization. No functional change so use existing unit tests.
For code changes:
LICENSE
,LICENSE-binary
,NOTICE-binary
files?