Commit graph

1760 commits

Author SHA1 Message Date
Daan
6be28eda6e bump version to 3.0.6 2025-06-23 18:46:48 -07:00
Daan
0f2cc25572 fix decl_nodiscard annotation for Linux builds 2025-06-17 20:08:10 -07:00
Daan
796aa40b38 fix decl_nodiscard annotation for Linux builds 2025-06-17 20:03:35 -07:00
Daan
dcd6fd77b8 ensure the page submaps are zero initialized 2025-06-17 19:50:45 -07:00
Daan
a18b692262 check commit success for pagemap extension so NULL can be returned instead of faulting (issue #1098) 2025-06-17 18:05:12 -07:00
Daan
f5ce881fdf fix state of commit bits on commit failure 2025-06-10 16:13:39 -07:00
Daan
088e32e4ef add mi_bitmap_popcountN 2025-06-10 16:11:56 -07:00
Daan
b95268d46c only adjust commit stats on success 2025-06-10 16:11:30 -07:00
Daan
25fdd50666 return NULL in mi_arena_try_alloc_at if we cannot commit but commit was requested 2025-06-08 15:36:10 -07:00
Daan
bea8a12d3d fix error path on commit failure to use correct base address 2025-06-03 13:56:12 -07:00
Daan
4022df8085 fix build error on Ubuntu 2025-06-03 13:41:45 -07:00
Daan
86757dfbd6 improve precision of malloc_huge statistic by always using the global os stats 2025-06-03 13:36:05 -07:00
Daan
2157947ecf fix warning on Ubuntu 22 2025-06-03 12:39:47 -07:00
Daan
9232c5c8a0 check all _mi_os_commit calls and return NULL if failing to commit 2025-06-03 12:20:02 -07:00
Daan
5c0effd421 fix missing csize assignment in _mi_os_free_ex 2025-06-03 11:36:07 -07:00
Daan
2c839e7090 fix statistics for tracking the freed size of huge pages 2025-05-28 16:37:02 -07:00
Daan
3b567b1054 ensure page stats are done on the subproc stats in case the tld is NULL 2025-05-21 09:20:29 -07:00
Daan
3301ba09b4 fix page_bin and pages statistics; merge thread-local statistics regularly with main statistics; bump version to 3.0.4 2025-05-20 18:15:36 -07:00
Daan
a9992591dc count page_bin statistics 2025-03-31 10:14:22 -07:00
Daan
b1bb34a77d fix compilation for guarded build 2025-03-21 20:05:37 -07:00
Daan
72b1b76e48 add acces to statistics for runtime performance counters 2025-03-21 19:12:08 -07:00
Daan
cd2763aa3d fix compile warnings and assertion 2025-02-11 16:27:25 -08:00
Daan
0cbdcfac94 fix signed warning 2025-02-11 16:07:35 -08:00
Daan
6444cbc422 Merge branch 'dev3' into dev3-bin 2025-02-11 16:05:07 -08:00
daanx
d9439a7e39 merge from dev 2025-02-11 14:47:20 -08:00
daanx
ece1defe5b parameter of clz/ctz is size_t 2025-02-11 14:35:21 -08:00
daanx
c62d276835 optimize mi_bin 2025-02-11 14:27:01 -08:00
daanx
44a4c83fbf maintain count in pagequeue for constant time test in free.c 2025-02-11 13:56:58 -08:00
daanx
e81ddcb786 Merge branch 'dev3' into dev3-bin 2025-02-11 13:07:20 -08:00
daanx
63b8f8f753 fix assertion condition 2025-02-11 09:47:03 -08:00
daanx
69a5fbb1f3 avoid overflow in max address calculation on 32-bit (issue #1010) 2025-02-11 09:32:13 -08:00
daanx
f905c14f09 Merge branch 'dev' into dev3 2025-02-11 09:22:37 -08:00
daanx
d3897635ad fix compilation warning 2025-02-11 09:22:31 -08:00
daanx
02b97b6891 merge from dev 2025-02-11 09:21:48 -08:00
daanx
0c8069adab use physical memory in kib to avoid overflow of size_t (issue #1010) 2025-02-11 09:18:23 -08:00
daanx
ec4aa62b65 use physical memory in kib to avoid overflow of size_t (issue #1010) 2025-02-11 09:12:29 -08:00
Daan
c820259f3b fix heap_main declaration 2025-02-10 21:25:30 -08:00
Daan
8755369301 Merge branch 'dev' into dev3 2025-02-10 20:55:51 -08:00
Daan
78dd3f0e38 add mi_is_redirected back (issue #993) 2025-02-10 20:55:30 -08:00
Daan
e92358ba49 merge from dev; add _mi_heap_main_get
(issue #1010)
2025-02-10 20:42:29 -08:00
Daan
1d3d193561 make heap_main mi_decl_hidden 2025-02-10 20:37:01 -08:00
Daan
a7a0db06d5 merge from dev 2025-02-10 20:28:53 -08:00
Daan
156687ac8b rename to mi_thread_set_in_threadpool 2025-02-10 20:26:19 -08:00
Daan
aae2e0b2f6 merge from dev 2025-02-10 20:15:42 -08:00
daanx
08ebe070a4 add mi_heap_set_in_threadpool 2025-02-10 20:11:52 -08:00
Daan
89d629317f limit page_reclaim to page queues of less than 4 pages; make page_commit_on_demand 0 by default. 2025-02-10 12:45:38 -08:00
Daan
35e81c1a3d Merge branch 'dev3' into dev3-bin 2025-02-09 09:15:15 -08:00
Daan Leijen
d8c119cc4f add mi_decl_maybe_unused; fix compilation with OPT_SIMD (issue #1009) 2025-02-09 08:56:22 -08:00
Daan
fe5258a179 change process initialization order (potential fix for issue #1007) 2025-02-08 23:33:16 -08:00
daanx
8d9b6b2b9e merge from dev3 2025-02-08 13:14:19 -08:00