-
Notifications
You must be signed in to change notification settings - Fork 1.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
Link jemalloc only to binaries #8011
base: master
Are you sure you want to change the base?
Conversation
Baking a custom malloc into a library can cause problems because client binaries can easily end up with multiple malloc implementations. Quoting jemalloc dev David Goldblatt from their chat channel: > I sort of think that dynamic libraries have no business defining > their own malloc independent of the process malloc https://app.element.io/#/room/#jemalloc_jemalloc:gitter.im/$LubsysDtwVeAfQgOkJDfdkUP4E9O554PX5rH-qq1VRQ
This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days. |
I think this would be a valuable fix to merge, as it's quite simple and mostly requires acknowledging the benefit. Is anything else holding it up? |
This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days. |
This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days. |
Baking a custom malloc into a library can cause problems because client binaries can easily end up with multiple malloc implementations. Quoting jemalloc dev David Goldblatt from their chat channel:
https://app.element.io/#/room/#jemalloc_jemalloc:gitter.im/$LubsysDtwVeAfQgOkJDfdkUP4E9O554PX5rH-qq1VRQ
Enter
[N/A]
in the box, if an item is not applicable to your change.Testing
Before we can approve your change; please submit the following in a comment:
If this is a change to packaging of containers or native binaries then please confirm it works for all targets.
ok-package-test
label to test for all targets (requires maintainer to do).Documentation
Backporting
Fluent Bit is licensed under Apache 2.0, by submitting this pull request I understand that this code will be released under the terms of that license.