aboutsummaryrefslogtreecommitdiff
path: root/core/mem/virtual
Commit message (Collapse)AuthorAgeFilesLines
* Remove `core:os` dependency for `base:runtime`gingerBill2024-01-281-1/+1
|
* Replace `core:*` to `base:*` where appropriategingerBill2024-01-281-2/+2
|
* Keep vet happygingerBill2024-01-171-2/+0
|
* Fix typogingerBill2024-01-171-1/+1
|
* Fix typogingerBill2024-01-171-1/+1
|
* Rename to `Map_File_*`gingerBill2024-01-175-9/+9
|
* Merge branch 'master' of https://github.com/odin-lang/OdingingerBill2024-01-171-1/+1
|\
| * bring log allocator up to dateColin Davidson2024-01-175-12/+12
| |\
| * | add resize non zeroed in more placesColin Davidson2023-12-041-1/+1
| | |
* | | Add `virtual.map_file`gingerBill2024-01-175-1/+139
| |/ |/|
* | stdcall -> systemgingerBill2024-01-171-1/+1
| |
* | fixxb-bx2024-01-082-2/+2
| |
* | fix not passing arg everywhereLaytan2023-12-181-1/+1
| |
* | fix big alignmentLaytan2023-12-182-5/+5
| |
* | fix same problem in virtual arenaLaytan Laats2023-12-181-4/+4
| |
* | virtual arena: Actually use DEFAULT_ARENA_STATIC_RESERVE_SIZE as default ↵Karl Zylinski2023-12-041-1/+1
|/ | | | value on arena_init_static
* Implement new sys/unix packageflysand72023-10-271-74/+23
|
* Scale by 3/2 rather than 5/4gingerBill2023-08-151-1/+1
|
* Improve heuristic for committing memory with `virtual.alloc_from_memory_block`gingerBill2023-08-151-5/+12
|
* Align committed to a page sizegingerBill2023-08-151-0/+5
|
* `alloc_from_memory_block` to commit amounts equal to multiples of the ↵gingerBill2023-08-151-5/+8
| | | | `DEFAULT_PAGE_SIZE`
* 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
|
* Add bsd to mem/virtualgingerBill2023-06-071-0/+24
|
* 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-282-1/+26
|
* Replaced opaque bit-shifts with readable constants for memory unitshikari2022-12-241-2/+2
|
* Merge branch 'master' into allocator-mode-alloc-non-zeroedgingerBill2022-11-036-406/+349
|\
| * Add `Arena_Kind.Buffer` to `core:mem/virtual`gingerBill2022-10-262-10/+45
| |
| * Remove doubly linked list of `Platform_Memory_Block` fieldsgingerBill2022-10-192-37/+0
| |
| * Wrap `intrinsics.overflow_add` to `safe_add`gingerBill2022-10-153-48/+10
| |
| * Add `overflow_add` checks to `alloc_from_memory_block`gingerBill2022-10-131-3/+7
| |
| * 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-123-32/+28
| |
| * 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-124-362/+309
| |
| * update `virtual.growing_arena_bootstrap_new`gingerBill2022-10-041-3/+2
| |
* | Add `Allocator_Mode.Alloc_Non_Zerored`gingerBill2022-09-222-2/+2
|/
* Improve mem/virtual handling of out of memory on WindowsgingerBill2022-09-122-5/+7
|