Commit graph

  • 85b5fa11bc merge segment_init refactoring from dev Daan Leijen 2022-11-22 19:03:26 -08:00
  • fed883c81f refactor mi_segment_init fix Daan Leijen 2022-11-22 18:44:27 -08:00
  • 00a42bf379 refactor mi_segment_init Daan Leijen 2022-11-22 18:42:05 -08:00
  • 78690fbec2 fix proteced status in stl allocator (pr #625)# Daan Leijen 2022-11-22 18:41:51 -08:00
  • 7dce31f743 reenable decommitting of a huge aligned prefix Daan Leijen 2022-11-22 18:13:27 -08:00
  • 061bbe25b0 update readme Daan Leijen 2022-11-22 17:17:14 -08:00
  • 9617f16df9 add STL allocators that use a specific heap and can destroy at the end; see original PR #625 by @vmarkovtsev Daan Leijen 2022-11-22 16:58:32 -08:00
  • 6e2b077b35 rename to heap_alloc_new and heap_alloc_new_n Daan Leijen 2022-11-22 14:48:26 -08:00
  • 34910664f1 add mi_heap_new_ and mi_heap_new_n Daan Leijen 2022-11-22 14:46:23 -08:00
  • d01ecc272b Merge branch 'dev' into dev-slice Daan 2022-11-22 10:58:40 -08:00
  • fe300ca141 fix extern inline definition (issue #643) Daan 2022-11-22 10:58:02 -08:00
  • 631f22fbda change library linkage to PRIVATE (issue #646) Daan 2022-11-22 10:54:40 -08:00
  • 83c027c4bf fix medium page size to 512k Daan Leijen 2022-11-21 18:56:56 -08:00
  • c007747169 back to 64k pages but 32MiB segments and a 1MiB minimal commit size Daan Leijen 2022-11-21 15:03:15 -08:00
  • 3ccf849c1a more refined decommit extend delay Daan Leijen 2022-11-21 15:02:41 -08:00
  • b164f6cde3
    Merge dcbe772f1f into e6ab602ca1 David CARLIER 2022-11-21 14:45:38 -08:00
  • 961778f0a7 Merge branch 'dev' into dev-slice Daan Leijen 2022-11-21 10:25:36 -08:00
  • e6ab602ca1 add comment Daan Leijen 2022-11-21 10:24:02 -08:00
  • 1a7f6f376d move threadid field Daan Leijen 2022-11-21 10:22:50 -08:00
  • 163afcce75 merge from dev with the destroy_on_exit option Daan Leijen 2022-11-21 10:03:52 -08:00
  • 35d332141d experimental destroy_on_exit option for statically linked mimalloc in a dynamically unloaded DLL Daan Leijen 2022-11-18 11:00:23 -08:00
  • 7ebd1c6daf merge from dev Daan Leijen 2022-11-18 10:22:45 -08:00
  • 18cf94dff6 move keys field in the page struct to keep offsets in the fast path the same for different build variants Daan Leijen 2022-11-18 10:14:37 -08:00
  • 8834e128e8 improve mi_free codegen Daan Leijen 2022-11-18 10:13:51 -08:00
  • 82a765a255 experiment with 32KiB slices and increased MI_MIN_EXTEND Daan Leijen 2022-11-18 09:38:01 -08:00
  • b940543cd5 experiment with smaller segment size (32MiB) and finer minimal commit (1MiB) Daan Leijen 2022-11-17 18:57:45 -08:00
  • c7d4a099d9
    Merge pull request #641 from ofek/patch-1 Daan 2022-11-07 18:00:10 -08:00
  • ba8c0f8903 avoid warning for large aligned blocks on linux daan 2022-11-07 17:21:03 -08:00
  • 67439bb4e5 add NULL check in _mi_segment_of daan 2022-11-07 17:12:14 -08:00
  • 89ba6cc2fa merge from dev daan 2022-11-07 16:48:00 -08:00
  • 2479d168ad decommit unused prefix of large aligned blocks daan 2022-11-07 16:41:40 -08:00
  • a27637acb3 merge from dev daan 2022-11-07 14:58:17 -08:00
  • 27fc2cf17e fix random initializer daan 2022-11-07 14:57:07 -08:00
  • 56ab9ee06a update azure pipeline to ubuntu 22.04 daan 2022-11-07 14:55:36 -08:00
  • 29405c7d70 fix initializer daan 2022-11-07 14:53:27 -08:00
  • c26c5da016 Merge branch 'dev' into dev-slice daan 2022-11-07 14:51:18 -08:00
  • 841172bd7d fix link error on windows daan 2022-11-07 14:51:07 -08:00
  • 3e1d800e9b potential fix for windows static linking with thread creation in dll's daan 2022-11-07 14:47:53 -08:00
  • 5d6b149ea9 bump version to v2.0.8 for further development daan 2022-11-07 11:37:22 -08:00
  • 312ce6f916 bump version to v1.7.8 for further development daan 2022-11-07 11:36:44 -08:00
  • c55cc260ab merge from dev-align daan 2022-11-07 11:29:03 -08:00
  • 2daec6c72f add more comments daan 2022-11-07 11:23:04 -08:00
  • 1f12c3dd12 remove MI_ALIGNMENT_MAX and add comments daan 2022-11-07 11:13:42 -08:00
  • 711aad7a75 refactor arena allocation daan 2022-11-07 11:13:29 -08:00
  • 96f1574faf fix huge page aligned allocation size in secure mode daan 2022-11-07 10:51:15 -08:00
  • 1632dd73c9 remove superfluous asserts daan 2022-11-06 21:03:23 -08:00
  • 651a99b35d refine last slice setting for large alignments daan 2022-11-06 20:57:27 -08:00
  • 562efed54d fix full SEGMENT_SIZE internal alignment by adding one more slice entry daan 2022-11-06 20:36:51 -08:00
  • 4814a649be merge from dev-align daan 2022-11-06 16:23:42 -08:00
  • d1ae630dec Merge branch 'dev-align' of https://github.com/microsoft/mimalloc into dev-align dev-align Daan 2022-11-06 14:51:37 -08:00
  • 3eb616f2bf fix bug in secure mode where adjustment would make the page size less than the blocksize on the first page of a segment Daan 2022-11-06 14:51:06 -08:00
  • f788e3c9a3 add comment daan 2022-11-06 14:18:52 -08:00
  • d3715132d1 move null ptr check Daan 2022-11-06 09:52:54 -08:00
  • f54e64365f fix assertions with incorrect block size for large alignments Daan 2022-11-06 09:44:12 -08:00
  • a200291ae5 further progress on removing aligned limit daan 2022-11-06 08:26:17 -08:00
  • 4b91ff760d initial working large alignment daan 2022-11-05 16:40:42 -07:00
  • 6a80fa3ac1 initial progress on removing alignment limit daan 2022-11-05 14:46:52 -07:00
  • 18a4b90501
    Fix typo Ofek Lev 2022-11-05 16:29:18 -04:00
  • 0e3d543a13
    Update readme.md Daan 2022-11-03 17:11:21 -07:00
  • 91ba1f374d merge from dev v2.0.7 daan 2022-11-03 17:06:34 -07:00
  • f859190cba update to v2.0.7 daan 2022-11-03 17:05:38 -07:00
  • fe61be80bf update to v1.7.7 v1.7.7 daan 2022-11-03 17:03:57 -07:00
  • e4630e7985 Merge branch 'dev' into dev-slice daan 2022-11-02 10:56:26 -07:00
  • 3bf299cd2b add comment on crash on Windows server 2019 daan 2022-11-02 10:56:13 -07:00
  • 63397d857e Merge branch 'dev' into dev-slice daan 2022-11-02 10:25:59 -07:00
  • 6e0f10dfd8 potential fix for link error with clang-cl (issue #631) daan 2022-11-02 10:25:46 -07:00
  • 6f8e115980 Merge branch 'dev' into dev-slice daan 2022-11-02 09:51:03 -07:00
  • 5ad06f9997 fix compiler warning on unused parameter (issues #251) daan 2022-11-02 09:50:49 -07:00
  • b3b479490e Merge branch 'dev' into dev-slice daan 2022-11-01 16:34:24 -07:00
  • 2d3f0e5b7a fix align5 test daan 2022-11-01 16:34:17 -07:00
  • cb3b73ba36 merge from dev daan 2022-11-01 16:33:50 -07:00
  • ad1da7cfc8 fix warnings daan 2022-11-01 16:29:10 -07:00
  • 933713292c merge from dev daan 2022-11-01 16:27:50 -07:00
  • e6bd41ba3f update arena_id api daan 2022-11-01 16:26:17 -07:00
  • 9f36808a7f initial api for heaps restricted to a certain arena daan 2022-11-01 16:22:51 -07:00
  • e961ef705e merge arena_id from dev daan 2022-11-01 14:16:49 -07:00
  • 0a691ca68e fix off by one in arena id daan 2022-11-01 14:05:04 -07:00
  • fe2d5aa8ff initial work on heaps restricted to specific arena's daan 2022-11-01 14:00:20 -07:00
  • c9f0a78432
    unconditionally define decl exports for GNU-style visibility Eli Schwartz 2022-11-01 03:56:09 -04:00
  • 43ce102425 Merge branch 'dev' into dev-slice daan 2022-10-31 16:17:17 -07:00
  • 65eb5c65ec relax restriction of size to be an integral multiple of the alignment in 'alloc_aligned' as too many programs need this; see PR #584 daan 2022-10-31 16:07:29 -07:00
  • 3ad4639aea fix atomic lib reference, see PR #586 daan 2022-10-31 15:53:36 -07:00
  • 923ef1ba74 Merge branch 'dev' into dev-slice daan 2022-10-31 15:49:48 -07:00
  • 7cb1fdc44e nicer style for pc_libraries daan 2022-10-31 15:49:04 -07:00
  • 4dcd7e6842 fix version number in pc-config daan 2022-10-31 15:47:00 -07:00
  • 907d04c27c
    Merge pull request #595 from eli-schwartz/pkg-config Daan 2022-10-31 15:42:08 -07:00
  • 4c241139e9
    Merge pull request #588 from TApplencourt/dev Daan 2022-10-31 15:32:31 -07:00
  • 0b1012aee0 Merge branch 'dev' into dev-slice daan 2022-10-31 15:30:54 -07:00
  • d8dd297974 add cmake option MI_WIN_REDIRECT to be able to explicitly disable linking with mimalloc-redirect on windows; always OFF on ARM, fixes issue #591 and #590 daan 2022-10-31 15:26:21 -07:00
  • c4663463d1 add mi_cdecl to functions to avoid errors when compiling with a different calling convention, see PR #592 daan 2022-10-31 12:16:34 -07:00
  • 3f122692eb Merge branch 'dev' into dev-slice daan 2022-10-31 11:01:10 -07:00
  • 698bb2cae7 split out _mi_page_try_use_delayed_free for contention reduction (issue #630) daan 2022-10-31 11:01:01 -07:00
  • 4442fda895 Merge branch 'dev' into dev-slice daan 2022-10-31 10:35:05 -07:00
  • 7bef5f5f5b reduce contention on the delayed_free lock; see issue #630 daan 2022-10-31 10:34:55 -07:00
  • cf2c2bac85 Merge branch 'dev' into dev-slice daan 2022-10-31 10:12:20 -07:00
  • bdc9dc3e4e update vs project for valgrind daan 2022-10-31 10:12:13 -07:00
  • 751e456767 possible fix for warning in issue #635 daan 2022-10-31 08:34:20 -07:00
  • c128cf69be fix alignment_max for 32-bit systems (unfortunately, we need to include stdint.h now) daan 2022-10-30 19:47:54 -07:00
  • 24aac114e9 Merge branch 'dev' into dev-slice daan 2022-10-30 19:18:14 -07:00
  • 0a8d7d98d8 fix valgrind link daan 2022-10-30 19:18:02 -07:00