Repository navigation
gh-90815: Add mimalloc memory allocator #109914
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
79b2cf4
Add mimalloc v2.0.9
colesbury 0288841
Upgrade to mimalloc 2.12
DinoV 612c35e
Fix mimalloc formatting
DinoV 359f90a
Don't export symbol
DinoV 7117b06
Blurb
DinoV 6bd9b0e
mimalloc: enable as allocator option
DinoV 2165c5f
Add includes to analyzer
DinoV b6bddbf
mimalloc: minimal changes for use in Python
colesbury 7f7f4fe
Add mimalloc MIT license
DinoV 7368010
Log mimalloc in Lib/test/pythoninfo.py
DinoV 8975bd1
Use macro defs for exports as done in https://github.com/python/cpyth…
DinoV 8a71892
Fix formatting
DinoV d725922
Fix ./python -m test test_sys -R 3:3
DinoV 2cb4aaf
Move mimalloc headers to internal, remove re-defs, update smelly
DinoV 82305dc
Fix header locations on Windows
DinoV 2d0158a
Try again to fix windows headers
DinoV 708cc66
Make memory sanitizer happy
DinoV 526a08d
Keep pymalloc the default
DinoV 3d43b3a
Update Lib/test/pythoninfo.py
vstinner 3261bcb
license.rst: remove empty line at the end
vstinner 99c4a24
Reduce Makefile.pre.in indentation
vstinner e2e36dc
obmalloc.c: indent
vstinner 62b7b83
Split _PyObject_DebugMallocStats() in sub-functions
vstinner ab829b3
Fix memory doc
vstinner File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Move mimalloc headers to internal, remove re-defs, update smelly
to allow mi malloc symbols in static lib, but not shared lib Summary: Test Plan: Reviewers: Subscribers: Tasks: Tags:
- Loading branch information
commit 2cb4aaf1d069dd07d527827a95d845f3825e852b
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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.
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.
Thank you for distinguishing local and exported symbols. It's good that "mi" and "mi" prefixes are only allowed for local symbols.