aboutsummaryrefslogtreecommitdiff
path: root/src/common_memory.cpp
Commit message (Expand)AuthorAgeFilesLines
* Minor changes to `StringMap` allocationgingerBill2023-01-141-2/+2
* Minimize `StringMap` structure usagegingerBill2023-01-141-3/+4
* Comment out allocator guards for the time beinggingerBill2023-01-121-2/+5
* Add `ArenaTemp` to the compilergingerBill2023-01-121-2/+64
* Make the `heap_allocator` just be the `permanent_allocator`gingerBill2023-01-121-4/+5
* Remove unnecessary check is `align_formula*` et algingerBill2023-01-051-15/+6
* Remove unneeded mutexgingerBill2023-01-021-12/+6
* Remove the synchronization primitive init/destroy callsgingerBill2023-01-011-2/+0
* Use `fetch_add` rather than `+=`gingerBill2022-12-181-2/+2
* `gb_internal` a lotgingerBill2022-12-181-37/+37
* Add better error message for compiler when OOM happensgingerBill2022-02-181-2/+17
* Add mutex guards for signature scopesgingerBill2022-01-101-10/+24
* Make `permanent_allocator()` thread localgingerBill2021-09-131-15/+9
* Fix typogingerBill2021-09-081-1/+1
* Add a minimum alignment on *nix for the compiler in heap_allocator_procgingerBill2021-09-081-4/+14
* Add some minor sanity checks to the compiler's `heap_allocator_proc` on DarwingingerBill2021-09-081-8/+15
* Correct fix to `heap_allocator_proc` in compilergingerBill2021-09-061-11/+7
* Minor fix to `heap_allocator_proc` in common_memory.cppgingerBill2021-09-061-4/+14
* Correct did you mean logic and make thread-safe-ergingerBill2021-08-271-10/+9
* Use local mutex for each `AstFile.arena`gingerBill2021-08-261-4/+16
* Fix typogingerBill2021-08-261-1/+1
* Correct `platform_virtual_memory_init` on UnixgingerBill2021-08-261-12/+21
* Implement virtual memory code for *nix and make genericgingerBill2021-08-261-41/+59
* Minor fixesgingerBill2021-08-261-7/+1
* Change the implementation of `Arena` to use virtual memory, and remove the ol...gingerBill2021-08-261-0/+402