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

Idea: Add dump commands for some other memory allocators #64

Open
2 of 13 tasks
bata24 opened this issue Feb 10, 2024 · 2 comments
Open
2 of 13 tasks

Idea: Add dump commands for some other memory allocators #64

bata24 opened this issue Feb 10, 2024 · 2 comments

Comments

@bata24
Copy link
Owner Author

bata24 commented Mar 10, 2024

jemalloc

Ubuntu 22.04: libjemalloc-dev/jammy 5.2.1-4ubuntu1 amd64
Ubuntu 23.10: libjemalloc-dev/mantic,now 5.3.0-1 amd64
  • 5.3.0 may have changed against 5.2.1, so I need more investigation.

@bata24
Copy link
Owner Author

bata24 commented Jul 27, 2024

snmalloc

  • How to test (x64):

    • Get and extract latest source from https://github.com/microsoft/snmalloc
    • Build with mkdir build && cd build && cmake -G Ninja .. -DCMAKE_BUILD_TYPE=Debug && ninja.
    • Execute as LD_PRELOAD=/path/to/libsnmallocshim.so ./a.out.
  • The source code was very complex, and there was little documentation about its internal structure, so the overall structure was completely unclear.

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

No branches or pull requests

1 participant