Commit Graph

105 Commits

Author SHA1 Message Date
daanx b5c6495f69 don't consider memory as large OS pages if only madvise'd 2024-08-20 15:58:36 -07:00
daanx 537c51e227 fix vs 2022 ide 2024-06-03 18:06:53 -07:00
daanx f7ba9d9da0 refactor arena-abandoned to be an include for backward compat with existing build scripts 2024-06-03 18:04:59 -07:00
daanx 800034cb99 refactor arena abandonment in a separate file 2024-06-03 17:58:34 -07:00
Daan Leijen b5665f0eec add full block_size and page_start to page info 2024-03-24 14:17:17 -07:00
daanx 4a85f32f8e add libc.c source file 2023-05-19 10:24:39 -07:00
daanx 2a6352fef2 add further zero initialization checks 2023-04-22 10:18:57 -07:00
daanx 91cd6e2560 add filter files for vs2022 2023-04-17 13:01:08 -07:00
daanx f42c66ccce fix build on vs2017/2019 2023-04-17 10:13:36 -07:00
daanx d01017ffda extend primitive api with is_zero parameters 2023-04-04 16:32:39 -07:00
daanx 77766e20a6 use only arena's instead of regions 2023-04-04 14:58:06 -07:00
Daan Leijen 287010578d update ide project files 2023-03-20 11:20:30 -07:00
Daan Leijen 2f9b2f51b9 update 2022 ide 2023-03-20 11:11:01 -07:00
Daan Leijen f58357548c restructure header files 2023-03-20 10:37:39 -07:00
Xinglong He 072316bd33 add etw support 2023-03-16 17:47:20 -07:00
Daan Leijen c4c96d2f8d update older vs ide projects 2023-03-15 20:38:10 -07:00
Daan Leijen e937070cf1 Merge branch 'dev' into dev-platform 2023-03-15 20:33:35 -07:00
Daan Leijen 824fd8a7b1 fix issue #707; rename a local template parameter (destroy) to work around two-phase template resolve in msvc 2019 2023-03-15 20:31:52 -07:00
Daan Leijen 9fb4f2a501 update vs2019 ide 2023-03-15 19:25:18 -07:00
Daan Leijen 08a01d26dc initial commit of new primitive layer 2023-03-14 16:54:46 -07:00
Daan Leijen 507f75b56c update vs2017 project files 2023-02-07 11:07:08 -08:00
Daan Leijen 94b8cb870e quote path in post-build event (issue #666 2022-12-19 18:40:12 -08:00
Daan Leijen ab99eb5830 quote path in post-build event (issue #666 2022-12-19 18:12:27 -08:00
Johannes Schindelin 745a34f475 Fix whitespace
This mostly deletes trailing spaces.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2022-12-03 00:24:20 +01:00
daan 6a80fa3ac1 initial progress on removing alignment limit 2022-11-05 14:46:52 -07:00
daan bdc9dc3e4e update vs project for valgrind 2022-10-31 10:12:13 -07:00
Daan Leijen 7bc602ebb4 redefine mi_likely/mi_unlikely to work with C++ 20 [[likely]] attributes 2022-04-19 19:50:06 -07:00
Daan Leijen 84126e8dc0 add vs2022 solution 2022-04-19 11:04:05 -07:00
daan 959845540d use W4 for msvc compilation 2021-11-13 14:13:03 -08:00
Daan Leijen 4ba32c3160 Revert "make all includes relative"
This reverts commit 1feb6123d9.
2021-06-07 16:47:57 -07:00
Daan Leijen 1feb6123d9 make all includes relative 2021-06-06 20:31:36 -07:00
daan c86459afef split bitmap code into separate header and source file 2020-09-08 10:14:13 -07:00
daan c7272afa9a add mi_reserve_os_memory/mi_manage_os_memory; allow arena allocations to cross multiple bitmap fields 2020-09-07 21:34:34 -07:00
daan 9d82b15d87 fix warnings on vs2017 2020-09-05 12:04:25 -07:00
daan 551831ba1c ctest output verbose on windows pipeline 2020-09-05 10:30:54 -07:00
daan 2e311f341b fix msvc compilation in C mode 2020-09-05 09:37:09 -07:00
daan b74caddcc1 fix memory order to acq_rel for atomic and/or, issue #130, thanks @mpoeter! 2020-07-23 15:00:49 -07:00
daan afc4f79a69 fix for ensuring heap initialization with static linking on windows on huge allocations (issues #221) 2020-04-06 12:15:12 -07:00
daan 0a3e5bb699 further fixes to compile on mingw without warnings (issue #217) 2020-04-06 10:56:53 -07:00
daan feb0699bcb fix aligment check when padding is enabled 2020-02-02 22:01:04 -08:00
daan 7d3d37e4dd Merge branch 'dev' into dev-exp 2020-02-02 15:54:41 -08:00
daan f5ab2c1c49 suppress spurious warnings with clang-cl 2020-02-02 15:50:02 -08:00
daan 8aba40a972 use default declaration for the STL allocator class 2020-02-01 17:41:04 -08:00
daan 5135c2b96a add test-api to vs solution 2020-02-01 14:29:55 -08:00
daan 40f1e1e07b byte-precise heap block overflow checking with encoded padding 2020-01-31 23:39:51 -08:00
daan 4faf412f53 move 'memory.c' to 'region.c' 2020-01-25 13:28:49 -08:00
daan b31bc52618 add cache alignment directives for contended variables 2020-01-24 19:02:13 -08:00
daan cdc34595cf fix warning in msvc 2020-01-23 10:52:27 -08:00
daan 6b7356a10a make mimalloc compile with the highest warning level on msvc 2020-01-16 18:12:01 -08:00
daan a0bee081dd use proper C++11 check for noexcept attribute 2020-01-16 15:58:48 -08:00