Commit graph

323 commits

Author SHA1 Message Date
Daan Leijen
211f11218e merge from dev 2025-01-02 17:25:38 -08:00
Daan Leijen
e8c27072a1 fix alignment for mi_manage_os_memory (issue #980) 2025-01-02 17:21:34 -08:00
daanx
bec06cfb95 merge from dev 2024-12-26 10:15:08 -08:00
daanx
63f47569f2 fix debug_show_arenas parameters 2024-12-25 13:35:54 -08:00
daanx
8339cefdeb fix stats for delay purge commit 2024-12-25 11:45:01 -08:00
daanx
587e08ccd4 improve commit stats 2024-12-25 11:12:26 -08:00
daanx
8259c0eb7c nice colors for heap maps 2024-12-24 20:10:44 -08:00
daanx
516e644359 rename option pagemap_commit; always commit the page map on macos (for now) 2024-12-22 16:06:49 -08:00
daanx
56cbddfc7e initial work on a two-level page-map 2024-12-21 23:08:52 -08:00
daanx
dece8a587b make stats part of a subproc 2024-12-21 10:43:08 -08:00
Daan Leijen
278f1ff556 merge from dev; match test-stress 2024-12-20 14:00:02 -08:00
Daan Leijen
f3d83e5fa6 insert full pages at the end of the queue; only override page candidate if the page is not too full 2024-12-20 13:55:31 -08:00
Daan Leijen
f6408235f7 merge from dev 2024-12-20 13:01:00 -08:00
Daan Leijen
0c6235e129 add _base test for redirection 2024-12-19 11:37:42 -08:00
Daan Leijen
27d929f338 add support for arm64ec 2024-12-18 23:55:37 -08:00
daanx
c585753dce fix purging with ranges 2024-12-17 11:54:26 -08:00
daanx
adfeb1f6f2 fix bug in bitmap_forall_ranges 2024-12-17 10:43:31 -08:00
Daan Leijen
63d0c8f861 merge from dev 2024-12-17 00:14:03 -08:00
Daan Leijen
ac52b6967d update arm64 redirection 2024-12-17 00:06:03 -08:00
Daan Leijen
6ac636e2e2 update readme 2024-12-16 23:22:52 -08:00
Daan Leijen
d5e1a62a7c add windows arm64 target to vs2022 2024-12-16 22:51:30 -08:00
daanx
b5dfd233e9 fix avx2 bug with atomics 2024-12-13 19:59:08 -08:00
daanx
216c04f8d9 clean up bitmap api 2024-12-13 18:39:03 -08:00
daanx
4c81c3cf90 enable purging of free committed slices from arenas 2024-12-13 13:17:00 -08:00
daanx
ba39e4d65b wip: start on purge 2024-12-13 09:03:17 -08:00
daanx
623eaedf33 add debug output for page map; free tld on thread exit 2024-12-12 19:59:54 -08:00
daanx
c478ddaab4 fix MI_GUARDED build 2024-12-10 19:44:54 -08:00
daanx
bf2f2a8bf4 fix bug where only the first chunkmap field would be considered 2024-12-08 18:48:56 -08:00
daanx
88990cec2d merge from dev 2024-12-08 18:27:05 -08:00
daanx
c8607a8d01 remove os_tld and stats parameters to os interface 2024-12-08 17:56:13 -08:00
daanx
d9a2f76ff7 fix write to empty heap in mi_guarded build 2024-12-08 17:23:09 -08:00
daanx
c33de86da3 check for running in a threadpool to disable page reclaim 2024-12-07 17:11:11 -08:00
daanx
bf9a2ddb59 compile for 32-bit as well 2024-12-06 23:07:10 -08:00
daanx
659a9dd51d fix page info size and order; atomic page flags 2024-12-06 22:37:59 -08:00
daanx
61436a92b9 working simplified version without pairmaps and bitmap epoch 2024-12-06 15:26:01 -08:00
daanx
bc67be4d79 small adjustments 2024-12-04 21:40:57 -08:00
daanx
45f7fb559a small fixes 2024-12-04 00:14:56 -08:00
daanx
bc7fe399b1 large bitmaps working; lock on arena_reserve 2024-12-03 23:35:33 -08:00
daanx
e5fdd6e110 wip: initial large bitmaps 2024-12-03 22:43:14 -08:00
daanx
3fc2c8e279 fix assertions 2024-12-03 11:06:07 -08:00
daanx
666c089fc8 revise free reclaim; ensure unown cannot race with a free 2024-12-03 10:51:13 -08:00
daanx
bd5f7de3f4 can run basic test 2024-12-02 20:21:35 -08:00
daanx
fe5a314114 add base and size to OS memid 2024-12-02 19:31:36 -08:00
daanx
5e95ebc7a0 fix free stats 2024-12-02 17:46:41 -08:00
daanx
1d7a9f62a5 bug fixes 2024-12-01 12:54:16 -08:00
daanx
9ebe941ce0 first version that passes the make test 2024-11-30 20:21:32 -08:00
daanx
d15e83030e wip: rename arena blocks to slices 2024-11-30 12:16:41 -08:00
daanx
188294a0df wip: bug fixes 2024-11-30 11:12:39 -08:00
daanx
9d904e8643 wip: bug fixes 2024-11-30 10:39:30 -08:00
daanx
978d844e15 wip: bug fixes 2024-11-29 20:23:39 -08:00