Commit graph

270 commits

Author SHA1 Message Date
Daan Leijen
c18a5537dc reduce medium page block size to 64k to reducemem usage 2025-03-03 20:50:21 -08:00
Daan
30dfe97f5b merge from dev 2025-03-03 16:28:43 -08:00
Daan
db831d4cf4 make mi_options_print, mi_arenas_print, and mi_stats_print independent of the vebosity setting 2025-03-03 16:23:28 -08:00
Daan Leijen
a447a1a297 merge from dev 2025-03-02 17:16:28 -08:00
Daan Leijen
58d13f6a4f collect every N generic calls 2025-03-02 17:06:25 -08:00
Daan Leijen
ec92690117 merge from dev; lean stats 2025-03-01 17:35:34 -08:00
Daan Leijen
527cd05fec add git hash to compile defines 2025-03-01 14:29:23 -08:00
daanx
951a6642ae merge from dev 2025-02-28 17:37:06 -08:00
daanx
5f6ebb70fa add mi_options_print and mi_arenas_print 2025-02-28 17:30:41 -08:00
daanx
6fce7b90a4 reduce object class sizes (/8), add max reclaim queue size 2025-02-28 16:51:59 -08:00
Daan
2775be9bed disable page commit_on_demand by default 2025-02-11 16:28:08 -08:00
daanx
6d350ab850 set the option commit_on_demand back to 2 as we only do this for medium/large pages 2025-02-08 11:51:18 -08:00
daanx
7931678899 further optimize mi_bchunk_try_find_and_clearNX 2025-02-06 22:59:14 -08:00
Daan
3d767ebef6 use regular free in zone_free on macos 2025-02-05 21:20:44 -08:00
daanx
5aa679cdee make page_reclaim_on_free 0 by default; but allow reclaim_on_free if the page was originally in this heap (just as in v2 with the full queue) 2025-02-05 15:41:37 -08:00
daanx
5fbba3f20c fix sign of comparison 2025-02-05 14:27:36 -08:00
daanx
dd4b6fc078 update options 2025-01-31 11:54:51 -08:00
Daan Leijen
dd4b4a36b1 use standard heap_collect every 10k generic allocations, disable reclaim_on_free by default 2025-01-07 17:42:42 -08:00
daanx
a9324a2f2f merge from dev3 2025-01-05 11:06:37 -08:00
Daan Leijen
f8c6acdf77 Merge branch 'dev' into dev3 2025-01-03 20:10:15 -08:00
Daan Leijen
2451b5685c fix large OS page behaviour on Linux; default is now 2 which only uses large OS pages (not huge) through madvise 2025-01-03 20:00:40 -08:00
Daan Leijen
30dd2b9bec allow large OS pages on Linux by default (but not on Android) 2025-01-03 18:10:37 -08:00
Daan Leijen
98699c983a update to v1.8.8 2025-01-03 17:56:15 -08:00
Daan Leijen
c95d9865a8 merge from dev3-bin 2025-01-03 14:27:18 -08:00
Daan Leijen
84f2038a2c Merge branch 'dev3' into dev3-bin 2024-12-31 14:28:25 -08:00
Daan Leijen
9665d604d3 merge from dev 2024-12-31 14:28:09 -08:00
Daan
f33aa58d88
Merge branch 'dev' into dev 2024-12-30 12:27:46 -08:00
daanx
c65d5b878b Merge branch 'dev3' into dev3-bin 2024-12-25 13:30:50 -08:00
daanx
7ae726bb39 small fixes 2024-12-25 13:30:42 -08:00
daanx
b5c4a3c6e7 merge from dev3 2024-12-25 11:47:54 -08:00
daanx
24b8384f80 remove is_expandable requirement on page candidates 2024-12-24 20:23:37 -08:00
daanx
8259c0eb7c nice colors for heap maps 2024-12-24 20:10:44 -08:00
daanx
4d1d3471cf rename page options 2024-12-24 17:14:53 -08:00
daanx
d21114b5f2 improve page commit on demand 2024-12-24 11:37:52 -08:00
daanx
ba68810333 commit page on demand 2024-12-23 18:33:37 -08:00
daanx
9bad269c51 fix purge delay check for arenas 2024-12-23 16:47:01 -08:00
daanx
657135de36 commit 2level page-map on over-commit systems 2024-12-23 09:53:52 -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
4c81c3cf90 enable purging of free committed slices from arenas 2024-12-13 13:17:00 -08:00
daanx
c5a2d11193 add extra checks for valid pointers in the pagemap, add max_vabits and debug_commit_full_pagemap options 2024-12-09 20:40:26 -08:00
daanx
68ac94c1ba set default arena reserve back to 1GiB 2024-12-08 18:53:43 -08:00
daanx
bf2f2a8bf4 fix bug where only the first chunkmap field would be considered 2024-12-08 18:48:56 -08:00
daanx
7443ee317e tune free-ing and abandoning 2024-12-05 17:00:23 -08:00
daanx
0616ee151e change to full_page_retain 2024-12-05 11:29:25 -08:00
daanx
666c089fc8 revise free reclaim; ensure unown cannot race with a free 2024-12-03 10:51:13 -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
d96c134566 wip: initial version with eager abandonment 2024-12-02 16:01:45 -08:00
daanx
69ac69abac wip: use epoch with 512bit chunks 2024-12-02 00:31:08 -08:00
daanx
188294a0df wip: bug fixes 2024-11-30 11:12:39 -08:00