Commit graph

  • 3746bf79ed small fixes; max object size 1/8th of a pages daanx 2024-12-19 21:30:03 -08:00
  • 9a4c264e76 Merge branch 'dev3' into dev3-bin daanx 2024-12-19 19:18:10 -08:00
  • de8001c107 add specialized is_set for 1 bit daanx 2024-12-19 19:18:04 -08:00
  • 8dd605099b fix arm64ec asm daanx 2024-12-19 15:29:40 -08:00
  • 7456d22fe3 add link for VS generator Daan Leijen 2024-12-19 14:22:10 -08:00
  • 3a9c402e51 update readme for cmake on windows Daan Leijen 2024-12-19 14:18:16 -08:00
  • b51c0974d3 fix cmake for visual studio on arm64 Daan Leijen 2024-12-19 14:00:54 -08:00
  • b6019897c1 Merge branch 'dev' into dev-slice Daan Leijen 2024-12-19 11:50:42 -08:00
  • 2876b8c0c5 update redirection readme Daan Leijen 2024-12-19 11:42:38 -08:00
  • 0c6235e129 add _base test for redirection Daan Leijen 2024-12-19 11:37:42 -08:00
  • a188fe1a5e Merge branch 'dev' into dev-slice Daan Leijen 2024-12-19 11:31:01 -08:00
  • c409928f5e Merge branch 'dev' of d:\dev\mimalloc3 into dev Daan Leijen 2024-12-19 11:12:44 -08:00
  • 130227e399 update redirection modules to v1.3 Daan Leijen 2024-12-19 11:10:17 -08:00
  • 02b59e0f15 Merge branch 'dev3' into dev3-bin daanx 2024-12-19 11:01:12 -08:00
  • c8faa8b0fb Ensure large and medium segments are droped when allocating a new segment for medium and large objects Sergiy Kuryata 2024-12-17 13:17:28 -08:00
  • 27d929f338 add support for arm64ec Daan Leijen 2024-12-18 23:55:37 -08:00
  • b18e1546a7 merge from dev daanx 2024-12-18 15:59:33 -08:00
  • 27959c2403 Merge branch 'dev' into dev-slice daanx 2024-12-18 14:45:51 -08:00
  • 61a112cde5 fix MI_ARCH test daanx 2024-12-18 14:45:44 -08:00
  • c9eafa8536 Merge branch 'dev' into dev-slice daanx 2024-12-18 14:41:40 -08:00
  • 69d2b4e991 add comments/doc daanx 2024-12-18 14:41:20 -08:00
  • 515ae84174 syntax error daanx 2024-12-18 14:35:10 -08:00
  • 636d646b9c update arch detection in cmake daanx 2024-12-18 14:20:49 -08:00
  • 2d679959b7 Merge branch 'dev3' into dev3-bin daanx 2024-12-17 19:13:14 -08:00
  • 264d5a6704 update stat adjustment for purging daanx 2024-12-17 19:13:03 -08:00
  • fb90938408 adjust stats more clearly to avoid double counting commits daanx 2024-12-17 19:11:23 -08:00
  • 2a3969ffc7 Merge branch 'dev3' into dev3-bin daanx 2024-12-17 18:57:20 -08:00
  • 58b726be6f better stats for commit on overcommit systems (by not counting on-demand commit upfront) Daan Leijen 2024-12-17 18:57:00 -08:00
  • 587eabe72b Merge branch 'dev3' into dev3-bin daanx 2024-12-17 18:10:37 -08:00
  • 84bb1c2712 adjust stats more clearly to avoid double counting commits daanx 2024-12-17 18:10:28 -08:00
  • 21c05019b7 Merge branch 'dev' into dev3 daanx 2024-12-17 17:54:24 -08:00
  • 6a930f542d Merge branch 'dev' into dev-slice daanx 2024-12-17 17:54:00 -08:00
  • 617190880d add ajust stats to compensate for double counting daanx 2024-12-17 17:53:34 -08:00
  • c2e0aa49c4 update minject to v1.1 daanx 2024-12-17 16:07:18 -08:00
  • df48b8b6c9 Ensure large and medium segments are droped when allocating a new segment for medium and large objects Sergiy Kuryata 2024-12-17 13:17:28 -08:00
  • 34d03f3981 atomically clear purge bits when visiting daanx 2024-12-17 12:32:18 -08:00
  • 6e2a64b81e merge from dev3 daanx 2024-12-17 11:58:02 -08:00
  • c585753dce fix purging with ranges daanx 2024-12-17 11:54:26 -08:00
  • 68a90ceb9a add ranges for purging daanx 2024-12-17 11:44:14 -08:00
  • adfeb1f6f2 fix bug in bitmap_forall_ranges daanx 2024-12-17 10:43:31 -08:00
  • fdad1a0d4f fix infoslices needed calculation daanx 2024-12-17 09:49:09 -08:00
  • 615043af7c Merge branch 'dev' into dev-slice Daan Leijen 2024-12-17 00:35:47 -08:00
  • df593a3ec1 make timeout for tests in the pipeline up to 4 min Daan Leijen 2024-12-17 00:35:28 -08:00
  • 98171fd80a testing on arm64 Daan Leijen 2024-12-17 00:24:32 -08:00
  • d4a2813ff8 Merge branch 'dev3' into dev3-bin Daan Leijen 2024-12-17 00:17:32 -08:00
  • 63d0c8f861 merge from dev Daan Leijen 2024-12-17 00:14:03 -08:00
  • c57873ede7 merge from dev Daan Leijen 2024-12-17 00:09:33 -08:00
  • ac52b6967d update arm64 redirection Daan Leijen 2024-12-17 00:06:03 -08:00
  • 806bf8ea7e merge from dev Daan Leijen 2024-12-16 23:44:56 -08:00
  • 6ac636e2e2 update readme Daan Leijen 2024-12-16 23:22:52 -08:00
  • 3feb0d6cea add Windows arm64 support in cmame; name the mimalloc dll 'mimalloc-override.dll' on Windows with cmake (to match the IDE and minject Daan Leijen 2024-12-16 23:09:50 -08:00
  • de8d73d208 add minject for windows arm64 Daan Leijen 2024-12-16 22:53:52 -08:00
  • b47c68fefd add redirection dll for windows on arm64 Daan Leijen 2024-12-16 22:53:23 -08:00
  • d5e1a62a7c add windows arm64 target to vs2022 Daan Leijen 2024-12-16 22:51:30 -08:00
  • d9397be178 comments daanx 2024-12-16 10:00:32 -08:00
  • 037cb167f8 comments daanx 2024-12-16 09:51:54 -08:00
  • d2f670e6e5 add delay to purg'ing; call collect_retired every N generic allocs daanx 2024-12-15 19:54:01 -08:00
  • 3330d4353a remove maxaccessed from general bitmaps daanx 2024-12-15 19:15:00 -08:00
  • e24217e69c more bbin size classes, bug fixes daanx 2024-12-15 18:35:12 -08:00
  • df9009a060 wip: binned bitmap for the free slices daanx 2024-12-15 17:15:56 -08:00
  • 3153e5a4c5 small fixes daanx 2024-12-15 13:47:33 -08:00
  • 13ee94cef6 fix concurrent mi_tld access bug daanx 2024-12-15 13:22:00 -08:00
  • 4aeb2e1005 flexible clearN_ that can start at any index daanx 2024-12-15 13:21:13 -08:00
  • b5dfd233e9 fix avx2 bug with atomics daanx 2024-12-13 19:59:08 -08:00
  • 216c04f8d9 clean up bitmap api daanx 2024-12-13 18:39:03 -08:00
  • 4c81c3cf90 enable purging of free committed slices from arenas daanx 2024-12-13 13:17:00 -08:00
  • 42af184ce9 wip: start on purge daanx 2024-12-13 09:04:23 -08:00
  • ba39e4d65b wip: start on purge daanx 2024-12-13 09:03:17 -08:00
  • 3010d5890f fix assertion Daan 2024-12-12 20:27:46 -08:00
  • e43eb1f191 nicer debug output daanx 2024-12-12 20:22:24 -08:00
  • b53ac835f1 comment daanx 2024-12-12 20:01:37 -08:00
  • 623eaedf33 add debug output for page map; free tld on thread exit daanx 2024-12-12 19:59:54 -08:00
  • 637de624b3 fix free bug for meta data daanx 2024-12-12 19:55:45 -08:00
  • d5c4a16e58 lower full page retain more aggressively in a threadpool daanx 2024-12-12 17:57:36 -08:00
  • df956c4a17 use thread spacing for reclaim as well daanx 2024-12-12 17:22:41 -08:00
  • 98879ac8bc use thread spacing for reclaim as well daanx 2024-12-12 17:22:00 -08:00
  • 118bd8c97f space out threads when searching for free pages daanx 2024-12-12 16:37:31 -08:00
  • 94ce342ea9 maintain pages set for arenas; improve arena load/unload daanx 2024-12-11 22:06:25 -08:00
  • aed76f2910 wip: allow arena (re)loading daanx 2024-12-11 20:34:23 -08:00
  • f01f882dd6 Better handling for abandonded segments Sergiy Kuryata 2024-12-11 17:59:29 -08:00
  • ccf5e36e6b use frac 8 for reclaim_on_free and reabandon; halve full_page_retain if running in a threadpool daanx 2024-12-11 16:26:39 -08:00
  • 1c8d15abac fix build error daanx 2024-12-11 14:30:44 -08:00
  • ab53a73cbd small updates daanx 2024-12-11 14:29:06 -08:00
  • 565656919e fix comments in types; fix guarded alignment bug daanx 2024-12-11 13:04:37 -08:00
  • 64eea823e4 use always abandon on heap delete daanx 2024-12-11 09:24:38 -08:00
  • 91215a5512 ensure incompatible heaps are not absorbed daanx 2024-12-11 09:20:34 -08:00
  • 24d3c1bc14 heap meta data always uses mi_meta_zalloc daanx 2024-12-11 09:16:28 -08:00
  • 6774130c9a Merge ..\mimalloc into dev3 daanx 2024-12-10 20:46:12 -08:00
  • 7bb4767607 add asan/ubsan/tsan and valgrind to default debug build daanx 2024-12-10 20:45:59 -08:00
  • 64c4181ffa better block alignment daanx 2024-12-10 20:32:48 -08:00
  • c478ddaab4 fix MI_GUARDED build daanx 2024-12-10 19:44:54 -08:00
  • 008bec3013 Clear out small object free space in large segments Part 2 Sergiy Kuryata 2024-12-10 16:37:24 -08:00
  • 2a1c346281 Merge branch 'dev3' of https://github.com/microsoft/mimalloc into dev3 daanx 2024-12-10 15:12:13 -08:00
  • 13be5d6740 use non-null tld in heap_init Daan 2024-12-10 15:11:46 -08:00
  • 7cd8f31f30 improve popcount daanx 2024-12-10 14:50:55 -08:00
  • 47edd8bd81 Clear out small object free space in large segments Sergiy Kuryata 2024-12-10 13:34:23 -08:00
  • f37aff6ee2 fix for macOS 14 and earlier Daan 2024-12-09 22:27:40 -08:00
  • 340f2a74bb Handle medium allocation in dedicated segments Sergiy Kuryata 2024-12-09 21:37:27 -08:00
  • 6798375f47 temporarily add macOS 13 and 12 for testing Daan 2024-12-09 21:26:23 -08:00
  • 5e434a6e66 merge from dev Daan 2024-12-09 21:24:30 -08:00