aboutsummaryrefslogtreecommitdiff
path: root/core/mem/virtual/arena.odin
Commit message (Expand)AuthorAgeFilesLines
* Move memory mutex guard around for resize in virtual.Arena allocatorgingerBill2025-09-271-2/+16
* Disable usage of AddressSanitizer pending a per-allocator reviewFeoramund2025-06-151-12/+12
* Add asan support for various allocatorsLucas Perlind2025-05-061-11/+32
* Merge pull request #4836 from laytan/fix-wrong-out-of-memorygingerBill2025-03-201-5/+7
|\
| * fix wrong out of memory in edge cases, just try allocate from block for one s...Laytan Laats2025-02-121-5/+7
* | Fix: When resizing a virtual arena by commiting more of the already reserved ...alektron2025-03-021-0/+2
|/
* Added support for growing in place to some arenas.Barinzaya2025-01-241-4/+18
* Fix: Issue with non-zeroed memory after arena_temp_and;alektron2025-01-151-1/+2
* Fixed crash in arena_free_all() for bootstrapped growing arenas.dmitriy.gorevoy2024-12-231-1/+2
* mem/virtual: make sure the given size is used for subsequent blocksLaytan Laats2024-08-291-0/+4
* Fix typogingerBill2024-03-071-2/+2
* Add `default_commit_size` to `virtual.Arena`gingerBill2024-03-071-10/+32
* mem/virtual: fix arena_static_reset_to inverted logicLaytan2024-02-061-2/+2
* bring log allocator up to dateColin Davidson2024-01-171-5/+5
|\
| * fix big alignmentLaytan2023-12-181-1/+1
| * fix same problem in virtual arenaLaytan Laats2023-12-181-4/+4
| * virtual arena: Actually use DEFAULT_ARENA_STATIC_RESERVE_SIZE as default valu...Karl Zylinski2023-12-041-1/+1
* | add resize non zeroed in more placesColin Davidson2023-12-041-1/+1
|/
* Fix docs typogingerBill2023-08-071-1/+1
* Fix small doc mistakes in arena.odinEric Johnson2023-07-111-4/+4
* Use positional and named arguments within the core librarygingerBill2023-06-211-1/+1
* Document `virtual.Arena`gingerBill2023-02-281-2/+39
* Make `arena_free_all` keep the first memory block for a `.Growing` arenagingerBill2023-02-281-6/+17
* Pass `#caller_location` down correctlygingerBill2023-02-101-6/+6
* Fix `arena.free_all`gingerBill2023-02-031-1/+0
* Correct `arena_temp_end` usage when no allocation ever happens for that arenagingerBill2023-01-281-17/+19
* Add mutex to `virtual.Arena`; add `virtual.arena_temp_ignore`gingerBill2023-01-281-0/+21
* Replaced opaque bit-shifts with readable constants for memory unitshikari2022-12-241-2/+2
* Merge branch 'master' into allocator-mode-alloc-non-zeroedgingerBill2022-11-031-0/+331
|\
| * Add `Arena_Kind.Buffer` to `core:mem/virtual`gingerBill2022-10-261-10/+41
| * Wrap `intrinsics.overflow_add` to `safe_add`gingerBill2022-10-151-5/+1
| * Add overflow check when using a growing arenagingerBill2022-10-131-1/+2
| * Add @(require_results) to many proceduresgingerBill2022-10-131-0/+9
| * Inline `assert` conditiongingerBill2022-10-121-1/+1
| * Rename constants; minor rearrange of `Arena` layoutgingerBill2022-10-121-18/+17
| * Clean up `minimum_block_size` default implicit initializationgingerBill2022-10-121-3/+7
| * Sanity corrections to virtual callsgingerBill2022-10-121-30/+27
| * Inline resize logic for `virtual.Arena`gingerBill2022-10-121-9/+36
| * Update `total_used` for `arena_static_reset_to`gingerBill2022-10-121-0/+2
| * Inline align forward offset codegingerBill2022-10-121-12/+7
| * Unify `Static_Arena` and `Growing_Arena` into `Arena`gingerBill2022-10-121-0/+270
|/
* Rename to growing_arena.odingingerBill2021-10-041-162/+0
* Separate out the virtual memory allocation proceduresgingerBill2021-10-041-6/+5
* Minor clean upgingerBill2021-10-031-5/+2
* Remove mutex from `Growing_Arena`; Add `Growing_Arena_Temp`gingerBill2021-10-031-24/+73
* Rename `virtual.Arena` to `virtual.Growing_Arena`gingerBill2021-09-291-11/+12
* Add a mutex to `arena_free_all`gingerBill2021-09-291-0/+6
* Add a mutex to virtual.ArenagingerBill2021-09-291-0/+13
* Add `core:mem/virtual`gingerBill2021-09-291-0/+97