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

feat: implement noload resolver to avoid loading with dlopen(3) #51

Merged
merged 3 commits into from
Dec 12, 2022

Conversation

coord-e
Copy link
Owner

@coord-e coord-e commented Dec 12, 2022

for #19

jemalloc fails to load when loaded by dlopen(3), so current implementation fails to resolve it to the actual library path.

libjemalloc.so: cannot allocate memory in static TLS block

This PR attempts to solve this problem by not requiring loading with dlopen(3). I do not have enough time to test this, so for now I will allow this to be enabled by an experimental flag --experimental-noload-resolver.

@coord-e coord-e merged commit 01444be into develop Dec 12, 2022
@coord-e coord-e deleted the noload-resolver branch December 12, 2022 13:08
@coord-e coord-e mentioned this pull request Dec 12, 2022
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.

1 participant