index
:
odin/Odin.git
bill/all_or_none
bill/any-type-switch-if-else
bill/change-license
bill/compiler-optimizations-2025-09
bill/conditional-zero
bill/const-union
bill/dir-organization
bill/disallow-128-bit
bill/fix-current-os-package
bill/fix-data-races-2026-02
bill/force-type-assert
bill/global-variable-distribution
bill/init-fini-changes
bill/integer-concatenation
bill/io-error-changes
bill/must-tail
bill/new-slice-sort
bill/range-init
bill/remove-test-suffix
bill/shared-partial-return-memory
bill/subtype-type-info
bill/typeid-sip-hash
bill/utf16-strings
core-flags
core_os2_revamp
custom-math-sin
fix-4225
llvm-12-support
master
middle-end
mimalloc
mv/libc-errors
new_os
orca-dev
text-template
update-tilde
windows-llvm-11.1.0
windows-llvm-12.0.1
windows-llvm-13.0.0
Odin Programming Language
Odin Lang
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
src
/
common_memory.cpp
Commit message (
Collapse
)
Author
Age
Files
Lines
*
Minimize severe memory usage by enforcing the `heap_allocator()` in places
gingerBill
2023-03-16
1
-10
/
+5
|
*
Correct `arena_temp_end` usage when no allocation ever happens for that arena
gingerBill
2023-01-28
1
-23
/
+37
|
*
Use a separate arena for `heap_allocator`
gingerBill
2023-01-28
1
-1
/
+3
|
*
Disable arena guards
gingerBill
2023-01-23
1
-4
/
+4
|
*
Use `heap_allocator()` with `-debug`; Reinstate the arena guards
gingerBill
2023-01-23
1
-8
/
+15
|
*
Minor changes to `StringMap` allocation
gingerBill
2023-01-14
1
-2
/
+2
|
*
Minimize `StringMap` structure usage
gingerBill
2023-01-14
1
-3
/
+4
|
*
Comment out allocator guards for the time being
gingerBill
2023-01-12
1
-2
/
+5
|
*
Add `ArenaTemp` to the compiler
gingerBill
2023-01-12
1
-2
/
+64
|
*
Make the `heap_allocator` just be the `permanent_allocator`
gingerBill
2023-01-12
1
-4
/
+5
|
|
|
|
This improves the speed of the compiler with very little memory increase (which surprised me, Ginger Bill)
*
Remove unnecessary check is `align_formula*` et al
gingerBill
2023-01-05
1
-15
/
+6
|
*
Remove unneeded mutex
gingerBill
2023-01-02
1
-12
/
+6
|
*
Remove the synchronization primitive init/destroy calls
gingerBill
2023-01-01
1
-2
/
+0
|
*
Use `fetch_add` rather than `+=`
gingerBill
2022-12-18
1
-2
/
+2
|
*
`gb_internal` a lot
gingerBill
2022-12-18
1
-37
/
+37
|
*
Add better error message for compiler when OOM happens
gingerBill
2022-02-18
1
-2
/
+17
|
*
Add mutex guards for signature scopes
gingerBill
2022-01-10
1
-10
/
+24
|
*
Make `permanent_allocator()` thread local
gingerBill
2021-09-13
1
-15
/
+9
|
*
Fix typo
gingerBill
2021-09-08
1
-1
/
+1
|
*
Add a minimum alignment on *nix for the compiler in heap_allocator_proc
gingerBill
2021-09-08
1
-4
/
+14
|
*
Add some minor sanity checks to the compiler's `heap_allocator_proc` on Darwin
gingerBill
2021-09-08
1
-8
/
+15
|
*
Correct fix to `heap_allocator_proc` in compiler
gingerBill
2021-09-06
1
-11
/
+7
|
*
Minor fix to `heap_allocator_proc` in common_memory.cpp
gingerBill
2021-09-06
1
-4
/
+14
|
*
Correct did you mean logic and make thread-safe-er
gingerBill
2021-08-27
1
-10
/
+9
|
*
Use local mutex for each `AstFile.arena`
gingerBill
2021-08-26
1
-4
/
+16
|
*
Fix typo
gingerBill
2021-08-26
1
-1
/
+1
|
*
Correct `platform_virtual_memory_init` on Unix
gingerBill
2021-08-26
1
-12
/
+21
|
*
Implement virtual memory code for *nix and make generic
gingerBill
2021-08-26
1
-41
/
+59
|
*
Minor fixes
gingerBill
2021-08-26
1
-7
/
+1
|
*
Change the implementation of `Arena` to use virtual memory, and remove the ↵
gingerBill
2021-08-26
1
-0
/
+402
old gbArena code