This website requires JavaScript.
Explore
Projects
Krypton
CPU vs AI
Eko
Help
Register
Sign In
mirrors
/
Odin
Watch
1
Star
0
Fork
0
You've already forked Odin
mirror of
https://github.com/odin-lang/Odin.git
synced
2026-04-19 13:00:28 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
Files
e5f32e145512a1fb0db142a214dee2d3b42ac073
Odin
/
core
/
mem
History
Karl Zylinski
e5f32e1455
Makes tracking allocator default to crashing on a bad free instead of add to bad_free_array. The bad_free_array remains to not break old code. The new default behavior is implemented in a callback that you can override, there's a second provided callback that provides the old behavior where an element was added to bad_free_array. Rationale: Many people are just checking the allocation_map, but don't check the bad free array. Several examples throughout core that use tracking allocator don't check bad_free_array either, so people have been taught not to check it.
2024-12-21 15:49:48 +01:00
..
tlsf
fix
@(optimization_mode)
usage in builtin collections
2024-07-08 21:07:53 +02:00
virtual
sys/posix: add MAP_ANONYMOUS
2024-11-17 13:52:08 +01:00
alloc.odin
[mem]: Adjust the docs for calc_padding_with_header
2024-09-14 10:18:51 +11:00
allocators.odin
Improve formatting
2024-10-11 14:48:55 +01:00
doc.odin
[mem]: Adjust the docs on the buddy allocator
2024-09-14 10:03:04 +11:00
mem.odin
Missing paren.
2024-11-03 14:10:29 +01:00
mutex_allocator.odin
build mutex allocator code on freestanding wasm
2024-10-14 16:11:25 +02:00
raw.odin
[mem]: Document mutex, rollback stack and tracking allocators
2024-09-14 10:46:35 +11:00
rollback_stack_allocator.odin
[mem]: Rollback allocator API consistency
2024-09-14 13:15:02 +11:00
tracking_allocator.odin
Makes tracking allocator default to crashing on a bad free instead of add to bad_free_array. The bad_free_array remains to not break old code. The new default behavior is implemented in a callback that you can override, there's a second provided callback that provides the old behavior where an element was added to bad_free_array. Rationale: Many people are just checking the allocation_map, but don't check the bad free array. Several examples throughout core that use tracking allocator don't check bad_free_array either, so people have been taught not to check it.
2024-12-21 15:49:48 +01:00