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

Build and Ship MS JDK with mimalloc as the default memory allocator. #588

Open
PhantomG27249 opened this issue Jan 8, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@PhantomG27249
Copy link

PhantomG27249 commented Jan 8, 2024

Is your feature request related to a problem? Please describe.
Stock system allocator on most platforms is mediocre. Microsoft works on what is arguable the best general purpose allocator in existence at the moment in the form of mimalloc.

Describe the solution you'd like
Build and ship mimalloc with msjdk in place of system alloc. Benefits would be increase performance and lower memory usage. Also a nice synergy between microsoft tech.

Describe alternatives you've considered
Manually overriding the allocator via LD preload or page table modification.

Link
https://github.com/microsoft/mimalloc

@karianna
Copy link
Member

karianna commented Jan 9, 2024

Will discuss this internally and get back to you (will take some time to assess so I won't give an ETA I'm afraid).

@karianna karianna added the enhancement New feature or request label Jan 9, 2024
@bdarwin
Copy link

bdarwin commented Feb 16, 2024

This will be extremely useful. Especially on Windows where there is no alternate to LD_PRELOAD.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants