-
Notifications
You must be signed in to change notification settings - Fork 119
snmalloc-rs #801
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
Open
mjp41
wants to merge
164
commits into
microsoft:main
Choose a base branch
from
mjp41:snmalloc-rs-integration
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
snmalloc-rs #801
+1,331
−0
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Use the master branch of microsoft/snmalloc - Fix Documentation
- update README.md - add ci - fix windows and osx build
Minor typos/rewording.
…ws to add /DNDEBUG
improving the performance in Windows
maintenance work
Bumps [snmalloc-sys/snmalloc](https://github.com/microsoft/snmalloc) from `7e22d30` to `1d72024`. - [Release notes](https://github.com/microsoft/snmalloc/releases) - [Commits](microsoft/snmalloc@7e22d30...1d72024) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
…ules/snmalloc-sys/snmalloc-1d72024 Bump snmalloc-sys/snmalloc from `7e22d30` to `1d72024`
`snmalloc` now supports alignment of all allocations with microsoft#124 This comment is no longer required.
Improve documents after upstream update
Bumps [snmalloc-sys/snmalloc](https://github.com/microsoft/snmalloc) from `4367a0c` to `3775a62`. - [Release notes](https://github.com/microsoft/snmalloc/releases) - [Commits](microsoft/snmalloc@4367a0c...3775a62) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
…ules/snmalloc-sys/snmalloc-3775a62 Bump snmalloc-sys/snmalloc from `4367a0c` to `3775a62`
Bumps [snmalloc-sys/snmalloc](https://github.com/microsoft/snmalloc) from `3775a62` to `ef77bcc`. - [Release notes](https://github.com/microsoft/snmalloc/releases) - [Commits](microsoft/snmalloc@3775a62...ef77bcc) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Updates for 0.3.1 release
Version bump
Version bump
* Update snmalloc to latest release. * Update docs. Signed-off-by: Matthew Parkinson <mattpark@microsoft.com>
- snmalloc to last version. - then adding a handful of available build options, diabling TLS support and LTO linkage. Signed-off-by: David Carlier <devnexen@gmail.com>
…osoft#178) * exposing sn_malloc_usable_size as a mean to assess how much the underlying allocator actually rounded up the allocated size. Signed-off-by: David Carlier <devnexen@gmail.com>
Signed-off-by: David Carlier <devnexen@gmail.com>
also it had switched to main branch last year.
* Update build.rs improve compatibilty and build errors on build_cc/cmake for windows * Update build.rs improve clang64 MSYSTEM linking pass tests * Update lib.rs, thread/process share safety null catches * Update build.rs ninja not necessary * Update build.rs ubuntu fix * Update build.rs unify builds and reconfigure freebsd In testing I noticed an almost doubling of test time between build_cc and cmake, they are now unified to make sure there is reduced chance of difference between builds. also enabled ability to read build environment of allocator * Update build.rs correct ubuntu linking to stdc++ for thread local safety * Update build.rs remove gcc link for tls * Update build.rs freebsd link c++ * Update build.rs LTO/IPO working on all builds, unix/linux * Update build.rs don't need static lib * Update build.rs correct lib location differences on windows * Update build.rs revert unix * Update build.rs unix family includes linux
* Update snmalloc to 0.7.1 This tracks the upstream changes in snmalloc 0.7.1. * Address warning from CI.
Collaborator
|
Thanks for doing this. I will take a look of the porting process! |
SchrodingerZhu
approved these changes
Jan 27, 2026
Collaborator
SchrodingerZhu
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
cf93d77 to
b98e8ad
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pulls in the entirety of snmalloc-rs and its history, and places it under snmalloc. This will allow for less breakages of the snmalloc-rs packages, and ensure we update them with all future releases.
See for discussion
#742
This PR is based on
#744
but keeps the history intact.