-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
runtime page size detection + rework GeneralPurposeAllocator to reduce active mapping count + Allocator VTable API update #20511
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 all commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
439667b
runtime page size detection
archbirdplus 284de7d
adjust runtime page size APIs
andrewrk 95a0474
revert GPA to before this branch
andrewrk 4913de3
GeneralPurposeAllocator: minimal fix
andrewrk 5c63884
add std.mem.Alignment API
andrewrk 91f41bd
std.heap.PageAllocator: restore high alignment functionality
andrewrk b23662f
std.heap.WasmAllocator: use `@splat` syntax
andrewrk dd2fa4f
std.heap.GeneralPurposeAllocator: runtime-known page size
andrewrk 7eeef5f
std.mem.Allocator: introduce `remap` function to the interface
andrewrk a0b2a18
std.testing.FailingAllocator: flatten namespace
andrewrk a4d4e08
introduce std.posix.mremap and use it
andrewrk 0d8166b
std: update to new Allocator API
andrewrk f171777
std.heap: delete LoggingAllocator and friends
andrewrk becd168
std.hash_map: placeholder for doc comments
andrewrk 601f632
std.heap.GeneralPurposeAllocator: fix large alloc accounting
andrewrk 2c5113f
std.os.linux.mmap: remove logic that does not belong here
andrewrk 36e9b0f
std.mem.Allocator: keep the undefined memset
andrewrk 1a6d87d
std.heap.ThreadSafeAllocator: update to new Allocator API
andrewrk 8ff7481
std.heap.GeneralPurposeAllocator: inline small allocation metadata
andrewrk 0e0f0c9
std.heap.GeneralPurposeAllocator: check canary in free
andrewrk 82b5a1d
std.heap.GeneralPurposeAllocator: implement resize and remap
andrewrk 00b723d
std.heap.WasmAllocator: update to new Allocator API
andrewrk b14a350
std.heap.GeneralPurposeAllocator: reduce page size to 512K
andrewrk c8e807c
std.heap.GeneralPurposeAllocator: use for loops in leak check
andrewrk def36f2
std.heap.GeneralPurposeAllocator: usize for used_bits
andrewrk d20d934
std: fix compilation under -lc
andrewrk 7320e8b
std.testing: make some things not pub
andrewrk 8626191
std.heap.GeneralPurposeAllocator: fix slot_counts calculation
andrewrk 6aab1ea
std.heap: update Windows HeapAllocator
andrewrk 8282565
std.heap.GeneralPurposeAllocator: fix UAF in resizeLarge
andrewrk f82ec3f
std.testing.allocator: different canary + enable resize traces
andrewrk 5e9b8c3
std.heap: remove HeapAllocator
andrewrk cd99ab3
std.heap: rename GeneralPurposeAllocator to DebugAllocator
andrewrk 9601906
std.heap.DebugAllocator: make page size configurable
andrewrk d0e1a6a
std.heap.DebugAllocator: update unit tests for new impl
andrewrk ff8e759
std.testing: don't ask wasm to stack trace
andrewrk 1bb8b4a
std.heap: fix wrong deprecation date
andrewrk e630b20
std.mem.Allocator.VTable: improve doc comment wording
andrewrk b8f5cfe
std.heap.SbrkAllocator: fix typo
andrewrk 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
There are no files selected for viewing
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.