aboutsummaryrefslogtreecommitdiff
path: root/core/mem
Commit message (Expand)AuthorAgeFilesLines
* 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-243-8/+8
* Remove old codegingerBill2022-12-081-13/+0
* Merge pull request #2181 from odin-lang/map-devgingerBill2022-11-172-26/+36
|\
| * Correct `map_reserve_dynamic` caused by an bizarre code generation buggingerBill2022-11-131-5/+3
| * Add extra calls to `Tracking_Allocator`gingerBill2022-11-092-3/+22
| * Fix bug with allocator not getting set on a `map`gingerBill2022-11-081-9/+4
| * Make `map_free_dynamic` take the total size of the allocationgingerBill2022-11-081-2/+1
| * Begin work on implementing the new `map` internalsgingerBill2022-11-071-11/+10
* | Handle freeing nil in scratch allocatorMichael Freundorfer2022-11-141-0/+3
|/
* Merge branch 'master' into allocator-mode-alloc-non-zeroedgingerBill2022-11-037-412/+351
|\
| * Make `raw_data` an intrinsic rather a `@(builtin)` runtime proceduregingerBill2022-10-301-6/+2
| * 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
| * Revert `default_resize_bytes_align` logic to previous behaviourgingerBill2022-10-191-8/+7
| * 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-122-16/+44
| * 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
* | Fix typogingerBill2022-09-221-1/+1
* | Add `Allocator_Mode.Alloc_Non_Zerored`gingerBill2022-09-224-27/+48
|/
* 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
* Unify mem and runtime logicgingerBill2022-08-261-42/+1
* Fix #1973.Jeroen van Rijn2022-08-251-1/+1
* Minor text alignmentgingerBill2022-08-151-3/+3
* Add `#soa` pointer type to aid with refactoring to `#soa` data typesgingerBill2022-08-081-0/+1
* Make `Growing_Arena` reserve memory first and then commit as neededgingerBill2022-08-082-1/+13
* Clean up naming conventionsgingerBill2022-08-081-6/+29
* Clean-up and unification for the allocation proceduresgingerBill2022-08-081-36/+5
* Improve `resize` callgingerBill2022-08-081-54/+9
* Added virtual memory headers for Darwin.Christoffer Lerno2022-07-291-0/+148
* Merge pull request #1819 from IanLilleyT/no_query_infogingerBill2022-06-121-5/+4
|\
| * tidying up Query_Info return value when not in query featuresIan Lilley2022-06-011-5/+4
* | Add `fmt:"s,0"` to allow arrays and multi-pointers to be printed with NUL ter...gingerBill2022-06-121-0/+6