[WIP] Mimalloc Integration#212
Draft
elazaro-riverside wants to merge 75 commits into
Draft
Conversation
elazaro-riverside
force-pushed
the
mimalloc_integration
branch
from
June 5, 2026 17:01
440fb80 to
ccdece4
Compare
rjsmith1999
reviewed
Jun 9, 2026
| // * - size: number of bytes to copied | ||
| // * @return - pointer to the copied string | ||
| // * NOTE: Read this link to understand the nature of strdup & strndup | ||
| // * https://pubs.opengroup.org/onlineptrpubs/9699919799/functions/strdup.html |
Collaborator
There was a problem hiding this comment.
Seems like this change was unintentional...
elazaro-riverside
force-pushed
the
mimalloc_integration
branch
3 times, most recently
from
June 15, 2026 14:56
780db71 to
2c1e515
Compare
elazaro-riverside
force-pushed
the
mimalloc_integration
branch
from
June 18, 2026 18:21
1d190e8 to
71c28de
Compare
added 22 commits
June 30, 2026 13:27
…odifications to the Dockerfile and cargo files to ensure mimalloc source is correctly linked with libresolve.
…cument workflow and after CI run.
…alloc archive to cargo so that downstream tests pass.
…see if it works correctly.
… compare the mimalloc approach to strict shadow object bounds approach.
…nd in __resolve_report_violation.
… mimalloc or not. If not log it and call libc free.
…ncy. Added debugging statement and logic to use libc free if the allocation is not from mimalloc.
added 22 commits
June 30, 2026 13:37
…to __resolve_free.
… the pointer is within a mimalloc-owned mem region.
…to return null pointers for pointers that are not allocated by mimalloc.
… in image-histogram is an interior pointer.
… the pointer is in a heap region and then check if it is a base address or offset.
…nter originates from.
… that are not owned by mimalloc can be freed by their allocators.
…ointer is within the region of mimalloc.
…that returns the thread ID.
…he correct allocation size.
elazaro-riverside
force-pushed
the
mimalloc_integration
branch
from
June 30, 2026 17:37
288a716 to
d85f77d
Compare
added 4 commits
June 30, 2026 13:42
…egration to include Ryan's changes.
…mmented code from runtime functions, and adding info!() to debug allocation bounds returned from mimalloc.
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
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.
Fill this in at PR stage.