aboutsummaryrefslogtreecommitdiff
path: root/core/mem/virtual
Commit message (Expand)AuthorAgeFilesLines
* virtual arena: Actually use DEFAULT_ARENA_STATIC_RESERVE_SIZE as default valu...Karl Zylinski2023-12-041-1/+1
* 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 `DEFAUL...gingerBill2023-08-151-5/+8
* 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
* Fix more typosgingerBill2022-08-311-2/+2
* Fix typogingerBill2022-08-311-1/+1
* Fix #1973.Jeroen van Rijn2022-08-251-1/+1
* Minor text alignmentgingerBill2022-08-151-3/+3
* Make `Growing_Arena` reserve memory first and then commit as neededgingerBill2022-08-082-1/+13
* Added virtual memory headers for Darwin.Christoffer Lerno2022-07-291-0/+148
* fix mmap call in virtual_linux.odinjason2022-05-251-5/+4
* Fix #1740gingerBill2022-04-261-1/+1
* Replace `sync` with `sync2`gingerBill2022-03-301-1/+1
* Use `contextless` where possibledev-2022-03gingerBill2022-03-014-20/+20
* Correct `alloc_from_memory_block`gingerBill2022-03-012-15/+47
* core/sys/unix: Add syscalls_linux.odinYawning Angel2021-11-171-42/+34
* Remove nonsense from `static_arena_init`gingerBill2021-10-051-10/+1
* Add error value to `commit`gingerBill2021-10-054-10/+29
* Correct `mmap` usagegingerBill2021-10-051-5/+4