aboutsummaryrefslogtreecommitdiff
path: root/core/mem
Commit message (Expand)AuthorAgeFilesLines
* use memory formatting in tracking allocator docLaytan Laats2023-09-011-1/+1
* Add formatting of bytes into the best unit of measurementLaytan Laats2023-09-011-0/+2
* Merge pull request #2721 from Kartoffelsaft/dynamic-pool-allocgingerBill2023-08-161-0/+1
|\
| * fix whitespaceBenjamin Findley2023-08-151-1/+1
| * prevent potential segfaults when using large allocations from dynamic poolBenjamin Findley2023-08-111-0/+1
* | 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
* 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