Skip to content
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

Removing DwarfFDECache at all when _LIBUNWIND_NO_HEAP=1. #1

Merged
merged 1 commit into from
Nov 19, 2019

Conversation

filimonov
Copy link

Before that DwarfFDECache:add was doing nothing when _LIBUNWIND_NO_HEAP=1.
But the cache (which can't be filled when add do nothing) was still checked (also with rwmutex).
That PR removes DwarfFDECache more decisively.

That should fix ClickHouse/ClickHouse#7383 and improve performance a bit (no mutex operations now when unwinding).

Adding to that cache was already disabled in function add, but it was still checked (also with mutex).
@laplab laplab merged commit 96f5f17 into ClickHouse:master Nov 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

deadlock leading to unresponsive server
2 participants