aboutsummaryrefslogtreecommitdiff
path: root/core/mem
Commit message (Expand)AuthorAgeFilesLines
* Clean up usage of `using` throughout core and vendorgingerBill2023-07-311-52/+52
* Fix small doc mistakes in arena.odinEric Johnson2023-07-111-4/+4
* Default to `panic` allocator for wasm targetsgingerBill2023-06-261-6/+6
* Use positional and named arguments within the core librarygingerBill2023-06-211-1/+1
* Add bsd to mem/virtualgingerBill2023-06-071-0/+24
* Merge branch 'master' into separate-int-word-sizesgingerBill2023-06-064-37/+82
|\
| * Update core/mem/doc.odinAxel Pahl2023-06-061-1/+2
| * Add mutex to `mem.Tracking_Allocator`gingerBill2023-05-251-0/+7
| * Add missing `Allocator_Error` and `@(require_results)` to many proceduresgingerBill2023-05-223-36/+73
* | Begin work on new pseudo-architecture: wasm64p32gingerBill2023-04-201-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-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