ed
2138e308d8
Merge remote-tracking branch 'offical/bill/raddebugger-custom-section'
2025-05-25 09:25:29 -04:00
Lucas Perlind
83bc2d3c4a
Add asan support for various allocators
2025-05-06 14:55:50 +10:00
ed
36ac7e1da1
Merge remote-tracking branch 'offical/master'
2025-03-22 13:37:59 -04:00
Laytan Laats
7df5be2131
fix wrong out of memory in edge cases, just try allocate from block for one source of truth
2025-02-12 19:09:21 +01:00
ed
f0b81f6502
Merge remote-tracking branch 'offical/master'
2025-01-30 14:36:46 -05:00
Barinzaya
98b3a9eacd
Added support for growing in place to some arenas.
...
This affects `runtime.Arena` and `virtual.Arena`, but not currently
`mem.Arena`. These changes allow the last allocation that has been
made to be resized to a larger size by just extending their
allocation in-place, when there's sufficient room in the memory block to
do so.
Shrinking in place and re-using the rest of the allocation can be
supported using almost the same logic, but would require the memory to
be zeroed. Since this would add a additional cost that isn't currently
present, shrinking has not been changed.
2025-01-24 10:13:46 -05:00
alektron
a0c20023fc
Fix: Issue with non-zeroed memory after arena_temp_and;
...
Fix: total_used field of growing Arena was not decremented correctly in arena_temp_end;
2025-01-15 17:59:30 +01:00
ed
7e6dde26ad
Move setting arena backing ot default temp allocator, forgot assert for arena_alloc in default_temp_allocator_arena
2025-01-13 01:33:59 -05:00
ed
5a7b8b463b
Removed implicit assignments for container allocators in the Base and Core packages
2025-01-12 21:41:15 -05:00
Abdul Rahman Sibahi and GitHub
67251ad5b8
typo fix
2024-08-11 14:30:48 +03:00
Karl Zylinski
11e586494b
Clarify that the arena in base:runtime shouldn't be used for anything but the default temp allocator. This is done by renaming the file in which it lives, and also by improving the comment above Arena :: struct {. This should avoid some confusion where people end up using the Arena in base:runtime because they thought it was the 'default arena'.
2024-06-18 12:48:16 +02:00