gingerBill
|
15bbdb2030
|
Merge pull request #2181 from odin-lang/map-dev
New `map` internals
|
2022-11-17 15:29:28 +00:00 |
|
Michael Freundorfer
|
f323a179d9
|
Handle freeing nil in scratch allocator
|
2022-11-14 21:44:20 +01:00 |
|
gingerBill
|
ad0f11668b
|
Correct map_reserve_dynamic caused by an bizarre code generation bug
|
2022-11-13 14:53:58 +00:00 |
|
gingerBill
|
f2f2d532f5
|
Add extra calls to Tracking_Allocator
|
2022-11-09 22:31:49 +00:00 |
|
gingerBill
|
366779f8c7
|
Fix bug with allocator not getting set on a map
|
2022-11-08 16:06:10 +00:00 |
|
gingerBill
|
dae299b781
|
Make map_free_dynamic take the total size of the allocation
|
2022-11-08 15:40:30 +00:00 |
|
gingerBill
|
c96e0afbf1
|
Begin work on implementing the new map internals
|
2022-11-07 23:02:21 +00:00 |
|
gingerBill
|
f76316f889
|
Merge branch 'master' into allocator-mode-alloc-non-zeroed
|
2022-11-03 12:47:11 +00:00 |
|
gingerBill
|
6a14c3edb4
|
Make raw_data an intrinsic rather a @(builtin) runtime procedure
|
2022-10-30 22:05:29 +00:00 |
|
gingerBill
|
7d217269b5
|
Add Arena_Kind.Buffer to core:mem/virtual
|
2022-10-26 13:37:20 +01:00 |
|
gingerBill
|
53e84b7f31
|
Remove doubly linked list of Platform_Memory_Block fields
|
2022-10-19 23:39:47 +01:00 |
|
gingerBill
|
765969e6a3
|
Revert default_resize_bytes_align logic to previous behaviour
|
2022-10-19 16:06:36 +01:00 |
|
gingerBill
|
ff51c5ee56
|
Wrap intrinsics.overflow_add to safe_add
|
2022-10-15 12:52:07 +01:00 |
|
gingerBill
|
7662808bc9
|
Add overflow_add checks to alloc_from_memory_block
|
2022-10-13 12:53:33 +01:00 |
|
gingerBill
|
d48828dd80
|
Add overflow check when using a growing arena
|
2022-10-13 12:45:17 +01:00 |
|
gingerBill
|
b725e01cdd
|
Add @(require_results) to many procedures
|
2022-10-13 11:10:16 +01:00 |
|
gingerBill
|
cf4afc2e7b
|
Inline assert condition
|
2022-10-12 21:26:50 +01:00 |
|
gingerBill
|
5ed06f7eb8
|
Rename constants; minor rearrange of Arena layout
|
2022-10-12 21:23:45 +01:00 |
|
gingerBill
|
765cd66b30
|
Clean up minimum_block_size default implicit initialization
|
2022-10-12 21:20:31 +01:00 |
|
gingerBill
|
5a8fbc230d
|
Sanity corrections to virtual calls
|
2022-10-12 21:16:34 +01:00 |
|
gingerBill
|
5c62211f00
|
Inline resize logic for virtual.Arena
|
2022-10-12 20:44:36 +01:00 |
|
gingerBill
|
835b8ffa22
|
Update total_used for arena_static_reset_to
|
2022-10-12 20:30:48 +01:00 |
|
gingerBill
|
b84108c4b5
|
Inline align forward offset code
|
2022-10-12 20:28:51 +01:00 |
|
gingerBill
|
6642e1fc9d
|
Unify Static_Arena and Growing_Arena into Arena
|
2022-10-12 19:10:04 +01:00 |
|
gingerBill
|
aebafdcd08
|
update virtual.growing_arena_bootstrap_new
|
2022-10-04 10:18:32 +01:00 |
|
gingerBill
|
5cf473b31c
|
Fix typo
|
2022-09-22 15:19:24 +01:00 |
|
gingerBill
|
7f601c9535
|
Add Allocator_Mode.Alloc_Non_Zerored
|
2022-09-22 12:12:57 +01:00 |
|
gingerBill
|
a35d6a6f8d
|
Improve mem/virtual handling of out of memory on Windows
|
2022-09-12 17:06:32 +01:00 |
|
gingerBill
|
ca76d53452
|
Fix more typos
|
2022-08-31 11:07:31 +01:00 |
|
gingerBill
|
b0a09f7b9e
|
Fix typo
|
2022-08-31 11:02:36 +01:00 |
|
gingerBill
|
027ea587fc
|
Unify mem and runtime logic
|
2022-08-26 16:45:40 +01:00 |
|
Jeroen van Rijn
|
3469178dc1
|
Fix #1973.
|
2022-08-25 13:31:45 +02:00 |
|
gingerBill
|
5c298c1501
|
Minor text alignment
|
2022-08-15 10:22:32 +01:00 |
|
gingerBill
|
5e3cf45df3
|
Add #soa pointer type to aid with refactoring to #soa data types
a: #soa[16]Foo
p := &a[6]
#assert(type_of(p) == #soa^#soa[16]Foo)
p^.x = 123
p.x = 123
|
2022-08-08 15:07:00 +01:00 |
|
gingerBill
|
0e6a8b7c72
|
Make Growing_Arena reserve memory first and then commit as needed
It just committed all at once to begin with
|
2022-08-08 12:43:18 +01:00 |
|
gingerBill
|
147848ca20
|
Clean up naming conventions
|
2022-08-08 12:30:58 +01:00 |
|
gingerBill
|
c97a8418dc
|
Clean-up and unification for the allocation procedures
|
2022-08-08 12:23:19 +01:00 |
|
gingerBill
|
4aca9372a6
|
Improve resize call
|
2022-08-08 12:11:30 +01:00 |
|
Christoffer Lerno
|
f45e8e5d47
|
Added virtual memory headers for Darwin.
|
2022-07-29 20:01:26 +02:00 |
|
gingerBill
|
ca1f419dc2
|
Merge pull request #1819 from IanLilleyT/no_query_info
Allocator: tidying up Query_Info return values when not part of Query_Features
|
2022-06-12 17:15:08 +01:00 |
|
gingerBill
|
d04f732e68
|
Add fmt:"s,0" to allow arrays and multi-pointers to be printed with NUL termination
|
2022-06-12 13:07:43 +01:00 |
|
gingerBill
|
fb49841b1d
|
Remove strings dependency from core:sys/windows
|
2022-06-02 13:02:16 +01:00 |
|
Ian Lilley
|
dda2ed290a
|
tidying up Query_Info return value when not in query features
|
2022-06-01 22:40:39 -04:00 |
|
Ian Lilley
|
66de1856e3
|
tighter allocation for arena allocator
|
2022-06-01 21:37:05 -04:00 |
|
gingerBill
|
a1f15c2c69
|
Merge pull request #1807 from odin-lang/simd-dev
Generic #simd type and intrinsics
|
2022-05-31 11:52:24 +01:00 |
|
jason
|
10deb2e88b
|
fix mmap call in virtual_linux.odin
|
2022-05-25 21:51:36 -04:00 |
|
gingerBill
|
63d6c08d90
|
Add raw_simd_data
|
2022-05-25 22:09:38 +01:00 |
|
gingerBill
|
7d2eedee73
|
Unify raw_data in core:mem with core:runtime
|
2022-05-23 11:47:12 +01:00 |
|
gingerBill
|
10f1d8c604
|
Fix typo
|
2022-05-21 13:38:38 +01:00 |
|
gingerBill
|
3049e07f72
|
Add mem.DEFAULT_PAGE_SIZE
|
2022-05-21 13:30:09 +01:00 |
|