Commit graph

  • 2e311f341b fix msvc compilation in C mode daan 2020-09-05 09:37:09 -07:00
  • dc858f6d29 fix c++ compilation with new atomics for dev-slice daan 2020-09-05 09:23:22 -07:00
  • 7c2b79bef0 Merge branch 'dev' into dev-slice daan 2020-09-05 09:17:59 -07:00
  • 50de0d2358 fix C++ compilation with new atomics daan 2020-09-05 09:17:42 -07:00
  • 2594b37c56 fix build warning on C++ template deduction on Linux daan 2020-09-05 08:36:34 -07:00
  • c3ef5d5a7a Fix build issues with VS 2017 Dan Cristoloveanu 2020-09-04 22:09:22 -07:00
  • b19bdfac87
    Updated readme.md Shivam7-1 2020-09-05 08:01:09 +05:30
  • 97f56b1e08 merge from dev daan 2020-09-04 14:21:33 -07:00
  • ec2c83a633 fix whitespace daan 2020-09-04 14:20:13 -07:00
  • 032eb2a75a use pragma warning only on msvc (issue #291) daan 2020-09-04 13:06:18 -07:00
  • d73d6beb71 add aslr test (issue #289) daan 2020-09-04 10:41:10 -07:00
  • f107acb3c8 fix __cplusplus test (pr #287) daan 2020-09-04 10:40:05 -07:00
  • 797c50e0c0
    Merge pull request #296 from timblechmann/feature/iOS-compile-fix Daan 2020-09-04 10:36:48 -07:00
  • b22401deb3 layout daan 2020-09-03 20:31:11 -07:00
  • f6109765d8 update whitespace and comments daan 2020-09-03 15:04:40 -07:00
  • 7058e501cb use atomic ops for the expire field; passes TSAN now Daan Leijen 2020-09-03 13:53:56 -07:00
  • 228b5f6e9d use atomic load for segment map daan 2020-09-03 12:19:04 -07:00
  • 03071dec0f merge from dev-atomic with new atomic interface daan 2020-09-03 12:13:09 -07:00
  • ff0d98883e update comments daan 2020-09-03 10:00:01 -07:00
  • 900c97664a merge from dev-atomic daan 2020-09-03 09:47:01 -07:00
  • 76a68cd7af bump version to 1.6.6 with new atomics daan 2020-09-03 09:45:53 -07:00
  • b4825372ab small compilation warning fixes (extra semicolon etc) daan 2020-08-29 19:30:38 -07:00
  • 8033b62979 allow overriding MI_MAX_ALIGN_SIZE daan 2020-08-29 09:59:15 -07:00
  • c1a834e886 add checks for when memory commit fails to return NULL daan 2020-08-28 10:40:46 -07:00
  • e4ddc75069 set delayed decommit mask more precisely to only decommit currently committed blocks daan 2020-08-28 08:46:51 -07:00
  • 2cffc3b851 merge from dev daan 2020-08-27 22:43:57 -07:00
  • 1190e0c053 iOS compile fix Tim Blechmann 2020-08-26 11:47:24 +08:00
  • 906f8a74aa fix readme.md Takayuki Tanabe 2020-08-24 12:07:38 +09:00
  • 3f8ff12e66 avoid use of %z format specifier daan 2020-08-15 11:42:28 -07:00
  • 5805c39916 enable --std=c99 compilation; fix mingw compilation daan 2020-08-09 17:55:17 -07:00
  • 08558de985 include/mimalloc.h: build cleanly with more compile-time checks Paul Khuong 2020-08-07 11:36:10 -04:00
  • a9686d6ecf avoid link error on non-windows v1.6.4 list daan 2020-08-06 13:37:11 -07:00
  • 0de92e406c prepare readme for release daan 2020-08-06 13:29:09 -07:00
  • d88a7470a0 merge from master daan 2020-08-06 13:19:01 -07:00
  • a9adae90d2
    Merge pull request #285 from wavenator/patch-1 Daan 2020-08-06 13:17:20 -07:00
  • 1583a73c66
    Adding conditional _DEFAULT_SOURCE definition Gal Ben David 2020-08-06 14:29:25 +03:00
  • 24e2929dde
    Update readme.md Shivam7-1 2020-08-04 11:26:46 +05:30
  • 9e7322f900 collect memory on process exit for statically linked library (issue #281 daan 2020-07-29 21:27:01 -07:00
  • 47572aceca improved NUMA node detection on Windows (for AMD Ryzen), issue #282 daan 2020-07-29 14:36:21 -07:00
  • ac0c121c68 update documentation for 1.6.4 release daan 2020-07-27 08:55:26 -07:00
  • cc6bd44827 Merge branch 'dev' of https://github.com/microsoft/mimalloc into dev daan 2020-07-27 08:33:40 -07:00
  • 5da3ef4ca1
    Merge pull request #280 from devnexen/haiku_stats Daan 2020-07-27 08:33:25 -07:00
  • 3d0b91457e
    Merge pull request #278 from devnexen/illumos_prevent_some_flags Daan 2020-07-27 08:32:01 -07:00
  • ef8e5d18a6 replace atomics with C11/C++ atomics with explicit memory order; passes tsan. Issue #130 dev-atomic daan 2020-07-26 18:00:38 -07:00
  • a468430772 strengthen memory order of bit operations; insert memory fences daan 2020-07-26 14:19:30 -07:00
  • a9f46dc86f reduce memory order constraints for better efficiency on ARM etc daan 2020-07-26 11:58:02 -07:00
  • 116159cd40 use RtlGenRandom on windows to enable compilation as C++ even with dynamic override daan 2020-07-26 11:57:14 -07:00
  • d964be2caa getting resident mem at least David Carlier 2020-07-26 18:56:10 +00:00
  • eb1188a1dd Enables subset of stats for haiku. David Carlier 2020-07-26 17:00:54 +00:00
  • 53cbc68de3 display compiler in cmake summary daan 2020-07-26 00:21:10 -07:00
  • 28014ee2bc fix atomic access for MADV_FREE in os_reset daan 2020-07-26 00:16:17 -07:00
  • ebf951e851 extra checks for atomic ptr exchange; extend mi_atomic_yield for win32 daan 2020-07-26 00:15:57 -07:00
  • 95afd0509f make segment abandoned_next atomic; tsan passes without warnings now (issue #130) daan 2020-07-25 23:50:22 -07:00
  • 09ade02429 bring inline with C11 atomics; no volatile and cas order of expected/desired daan 2020-07-25 22:52:27 -07:00
  • e27422adca switch to using C++ atomics in MSVC as well daan 2020-07-25 20:55:45 -07:00
  • 73c109a04e add cmake option to build with ubsan daan 2020-07-25 19:55:36 -07:00
  • afe29cb8f5 fix ub on shift, issue #279 daan 2020-07-25 19:33:02 -07:00
  • a9a21f39d8 fix memory order for CAS failure, issue #130 daan 2020-07-23 15:52:02 -07:00
  • b74caddcc1 fix memory order to acq_rel for atomic and/or, issue #130, thanks @mpoeter! daan 2020-07-23 15:00:49 -07:00
  • 70be91d6b8 reduce tsan warning by ensuring a require edge; issue #130 daan 2020-07-22 15:28:14 -07:00
  • 8aa18d3661 fix TSAN warning for statistics maximum, issue #130 daan 2020-07-22 14:16:18 -07:00
  • 444afa934f fix memory order for weak CAS, issue #130, thanks @mary3000! daan 2020-07-22 13:58:00 -07:00
  • 2e1b4f512d make max update in the stats atomic daan 2020-07-22 13:45:04 -07:00
  • 529d74a282 use O1 with thread sanitizer daan 2020-07-22 12:45:53 -07:00
  • 341048f61e avoid atomic operations on statistics if zero daan 2020-07-22 11:08:16 -07:00
  • 2f5fbffaa7 merge from dev dev-debug daan 2020-07-22 10:56:59 -07:00
  • 2254e20d4c some apis are available on Illumos which are not available on stock Solaris thus availability evelavated from cflags. discard some sporadically for large pages support mainly. David Carlier 2020-07-22 10:54:58 +01:00
  • c5406f327e move include 'limits.h' outside of definition daan 2020-07-21 18:51:25 -07:00
  • 532447fb33
    Merge pull request #272 from devnexen/illumos_build Daan 2020-07-21 18:46:28 -07:00
  • e5ede9c723
    Merge pull request #264 from DerVogel2020/dev Daan 2020-07-21 18:35:51 -07:00
  • 56b58a8021
    Merge pull request #267 from devnexen/haiku_support Daan 2020-07-21 18:32:40 -07:00
  • 76756ad63c update documentation daan 2020-07-21 18:27:54 -07:00
  • 6ed59c21e0
    Merge pull request #271 from DerVogel2020/fix-doc Daan 2020-07-21 18:22:18 -07:00
  • 589ebb1f30
    Merge e4a11a7750 into 71160e2bac hardened-steel 2020-07-21 22:51:30 +00:00
  • 01da026314 add option to build with thread sanitizer daan 2020-07-21 09:10:45 -07:00
  • 71160e2bac
    Fix glibc version (issue #270) Daan 2020-07-21 08:49:21 -07:00
  • 8769082d63 add pointer validity check in debug mode for mi_usable_size/mi_realloc/mi_expand. Issue #269 daan 2020-07-20 14:33:03 -07:00
  • 457fcbd9d5
    Merge pull request #274 from Tyler-IN/agnostic-posix-musl-support Daan 2020-07-20 11:34:58 -07:00
  • 5f51c97fbd override aligned_alloc always if using C compilation (issue #276) daan 2020-07-20 11:27:42 -07:00
  • 892ec12611 Support Windows Vista and XP for NUMA aware alloction (issue #277) daan 2020-07-20 11:10:45 -07:00
  • 0c550d1626 illumos support/build fix and large page support David Carlier 2020-07-10 03:23:20 +01:00
  • b9a7f5cfae
    fix mman.h ref Tyler Young 2020-07-09 10:58:47 -04:00
  • 736c1f08e7 Update documentation-header to current source code after 03d9946 fix #266 Wanja Vogel 2020-07-08 21:50:42 +02:00
  • a608241900 Update documentation-header to current source code after 03d9946 fix #266 Wanja Vogel 2020-07-08 21:45:43 +02:00
  • 82f4e5c48e Update documentation-header to current source code after 03d9946 Wanja Vogel 2020-07-08 21:45:43 +02:00
  • 7e48eb033c haiku support. David Carlier 2020-06-28 13:53:45 +00:00
  • 2599512e8f use stored pointer #257 Wanja Vogel 2020-06-18 18:20:26 +02:00
  • 4ecce78d66 Merge branch 'master' into dev daan 2020-06-17 19:28:15 -07:00
  • 38c264ccdf merge from dev daan 2020-06-17 19:25:03 -07:00
  • 1759f57d7a Merge branch 'dev' into dev-debug daan 2020-06-17 19:20:52 -07:00
  • 5a6d9ba807 fix handling of failing to allocate heap metadata on thread creation, issue #257 daan 2020-06-17 19:07:32 -07:00
  • 32b3608581 simplify initial main tld declaration daan 2020-06-17 13:12:05 -07:00
  • 07c6e60a5a
    Merge pull request #259 from DerVogel2020/master Daan 2020-06-16 11:47:45 -07:00
  • d5475a58a1 fix: avoid warning Wanja Vogel 2020-06-10 07:47:50 +02:00
  • 1f08317f3c Add option to install directly in CMAKE_INSTALL_PREFIX Uwe L. Korn 2020-05-30 07:19:57 +02:00
  • 6613ef0a83 Fix function definition specification Roman Gershman 2020-05-29 12:15:36 +03:00
  • f89ab5601d Introduce mmap hooks interface. That should resolve #53 and resolve #155 Roman Gershman 2020-05-29 12:04:42 +03:00
  • 4c45793ec1
    fix __movsb typecast error MSVC Haneef Mubarak 2020-05-26 16:16:19 -07:00
  • 6c92690914
    fix REP MOVSB doc comment typo Haneef Mubarak 2020-05-26 16:08:33 -07:00
  • 429025634e
    resolve #201 with a platform-selective REP MOVSB implementation Haneef Mubarak 2020-05-26 16:04:28 -07:00