Commit graph

  • 3f43cbe6a1 Fix C++ signature of function mi_is_in_heap_region JeanMiK 2019-08-12 12:43:01 +02:00
  • 63d4d2ad9c Merge branch 'dev' into dev-exp daan 2019-08-12 01:59:31 -07:00
  • 648f535c80 improve support for transparent huge pages on Linux (pr #115) daan 2019-08-11 18:23:31 -07:00
  • 0061e88360 updated redirection module daan 2019-08-11 16:45:20 -07:00
  • f35c2c5201 improve message printing from redirection module daan 2019-08-11 16:38:58 -07:00
  • 0c912445c4 Merge branch 'dev' into dev-exp daan 2019-08-11 14:46:53 -07:00
  • feb7b2c160 improve bit range skipping in region search daan 2019-08-11 13:49:12 -07:00
  • 3a75a9d5be use bit-scan instruction to speed up region search daan 2019-08-11 13:03:00 -07:00
  • 0fd898315c per thread region search index daan 2019-08-11 12:15:13 -07:00
  • 2e924150ae further layout improvement for msvc code generation daan 2019-08-11 11:30:24 -07:00
  • 7b105c4810 improve layout of page for x64 daan 2019-08-11 10:31:00 -07:00
  • 2c1da9d194 fix scalar initialization of page flags daan 2019-08-11 09:03:52 -07:00
  • d71e67b689 Merge branch 'dev' into dev-exp daan 2019-08-11 09:00:39 -07:00
  • 3a171624bd Merge branch 'master' into dev daan 2019-08-11 08:59:38 -07:00
  • a73daf1804 avoid mod operation in region allocation and limit extension daan 2019-08-11 08:54:32 -07:00
  • 756f4b2724 improve bit scanning code in region allocation daan 2019-08-11 08:48:19 -07:00
  • 6435887657 add comment on wait strategy in region allocation daan 2019-08-11 08:18:51 -07:00
  • f5902a7a82 ensure webassembly allocation sizes are page aligned daan 2019-08-11 08:06:17 -07:00
  • a1384bff72 avoid atomic read on aligned allocation on Linux daan 2019-08-11 08:00:10 -07:00
  • dbe010f2d4 add huge and giant stats; increase bins daan 2019-08-10 20:51:37 -07:00
  • 737b05cc25 remove unused fields from OS thread local data daan 2019-08-10 17:50:27 -07:00
  • ed785253bf restructure the page flags to use explicit masks daan 2019-08-10 17:48:00 -07:00
  • a90dc02984 Merge branch 'dev' into dev-exp daan 2019-08-10 17:27:52 -07:00
  • c0258b2d29 Merge branch 'master' into dev daan 2019-08-10 17:27:22 -07:00
  • b74f9b979f update documentation daan 2019-08-10 17:27:07 -07:00
  • 6bc6628ad4
    Update readme.md Daan 2019-08-10 17:12:05 -07:00
  • f7ed954c7c
    Update readme.md Daan 2019-08-10 17:07:40 -07:00
  • 576691b07e Merge branch 'dev-win' into dev-exp daan 2019-08-10 15:56:56 -07:00
  • 49b1f55029 Merge branch 'dev-win' into dev daan 2019-08-10 15:56:26 -07:00
  • 74a5c17178 update order of options; make eager_region_commit 0 on windows by default v1.0.6 daan 2019-08-10 15:44:55 -07:00
  • 2fee6f98d7 Merge branch 'master' into dev daan 2019-08-10 15:23:43 -07:00
  • 2b9e3ed01b merge from dev-win daan 2019-08-10 15:19:04 -07:00
  • 78a70ada2e Fix option reading even when preloading on Windows daan 2019-08-10 15:17:40 -07:00
  • d9cbc457b8 Merge branch 'dev-win' into dev-exp daan 2019-08-10 15:11:51 -07:00
  • 6f3bc87dcd merge from dev daan 2019-08-10 10:26:46 -07:00
  • 8ae2492eee fix arguments for the heap visitor function, issue #124 daan 2019-08-10 10:14:01 -07:00
  • 5b4c4ac959
    Merge pull request #117 from devnexen/darwin_anon_monitor Daan 2019-08-10 09:58:35 -07:00
  • ccc78302bf fix double assignment (#125, by @ebudai) daan 2019-08-10 09:53:00 -07:00
  • 3d9d70bce0 add new redirection module; fix environment reading at preloading daan 2019-08-10 09:39:36 -07:00
  • b342264867 static analysis fixes Eric Budai 2019-08-10 09:42:42 -04:00
  • 19163c7097 Merge branch 'dev-win' into dev-exp daan 2019-08-09 15:32:23 -07:00
  • b1938530af fix comment daan 2019-08-09 14:31:45 -07:00
  • 7b16aa9302 remove accidental commit of different size bins experiment daan 2019-08-09 11:22:38 -07:00
  • 442bad9190 add good-fit for allowing larger blocks in smaller segments daan 2019-08-09 11:18:38 -07:00
  • 5e56b40fe6 improve page flags handling daan 2019-08-08 17:18:49 -07:00
  • de57686dac Merge branch 'dev-win' of https://github.com/microsoft/mimalloc into dev-win daan 2019-08-08 15:23:27 -07:00
  • 6596e970a5 move in_full and has_aligned into page threadid for a single test in mi_free daan 2019-08-08 15:23:18 -07:00
  • 55778d2fe4 improved stats daan 2019-08-08 11:36:13 -07:00
  • 56778fe7d2 split normal and secure extend in a separate routine daan 2019-08-06 18:57:53 -07:00
  • 6313c21d93 fix output directory in test projects daan 2019-08-06 18:25:57 -07:00
  • 31f003f61d Replace page_queue_remove by page_queue_remove_clear Julian Fang 2019-08-01 22:13:41 +08:00
  • b2b30917b9 Refactor and split page_queue_remove by behavior Julian Fang 2019-08-01 22:13:30 +08:00
  • 0e8241c140 change from MIMALLOC_OVERRIDE to MIMALLOC_DISABLE_OVERRIDE Jakub Szymanski 2019-07-30 10:36:00 -07:00
  • e8f0375a3b Replace power of 2 checks with inline functions Julian Fang 2019-07-30 01:21:02 +08:00
  • 82ab9b4bd6 tracking anonymous page lifetime on macOS. David Carlier 2019-07-27 22:34:47 +01:00
  • d1f708af59 add MIMALLOC_OVERRIDE setting to disable redirection at runtime daan 2019-07-26 13:01:43 -07:00
  • bbf97fa02d merge from 'dev-exp'; add support for MIMALLOC_OVERRIDE environment variable daan 2019-07-26 12:06:15 -07:00
  • ffd0ae314b Using thp mode only instead as best as we can David Carlier 2019-07-23 18:47:09 +01:00
  • 3f894c9bf6 No need of an attemps after a failure with a casual mapping. David Carlier 2019-07-23 15:26:17 +00:00
  • cf4eacf979 Linux transparent huge page support mode. David Carlier 2019-07-23 15:07:16 +00:00
  • 613d0c1993 merge 095a87b daan 2019-07-23 17:57:27 -07:00
  • 095a87be2e add recursion guard for overriding in windows daan 2019-07-23 17:57:27 -07:00
  • 3d6feead60 add heap region check to cfree daan 2019-07-23 15:54:47 -07:00
  • dd79b662f8 restore to old-style windows override; fix debug mode daan 2019-07-23 15:51:08 -07:00
  • 89da085b67 rename to mimalloc-override.dll and use C compilation daan 2019-07-23 15:10:25 -07:00
  • fa5dc17621 fix merge conflicts daan 2019-07-23 15:09:54 -07:00
  • ab022e4271 fix mimalloc-redirect path on windows cmake build daan 2019-07-23 12:40:42 -07:00
  • c02a0c9b49 ensure cmake uses C++ compilation with MSVC daan 2019-07-23 09:59:20 -07:00
  • 13364b50b8 fix 32-bit build of stress test daan 2019-07-23 09:37:36 -07:00
  • f2f45ad5df fix cmake build on windows daan 2019-07-23 09:36:58 -07:00
  • a022049705 remove old comment daan 2019-07-22 21:25:57 -07:00
  • 189ad0f81d small optimizations, use bitwise aligne daan 2019-07-22 20:51:12 -07:00
  • 66b8c37ab3 ensure C++ compilation on windows daan 2019-07-22 10:27:14 -07:00
  • 598ed19c61 more comments daan 2019-07-22 16:11:06 -07:00
  • 0b4d74a566 merge daan 2019-07-22 10:10:45 -07:00
  • 219d46ff0c update test files and overriding daan 2019-07-22 01:36:16 -07:00
  • 6d9fab5af4 trailing id after #endif daan 2019-07-21 17:14:13 -07:00
  • b611c7fb34 use atomic ops to guard large page tries on windows daan 2019-07-21 17:13:36 -07:00
  • 7b7c36c8c7 use hinted address to mmap to reduce mmap calls daan 2019-07-21 17:08:09 -07:00
  • b5e26bedb1 Enforce strict include-what-you-use policy Jim Huang 2019-07-21 23:21:14 +08:00
  • fe229f8fad Fix path name in documentation about macOS Jim Huang 2019-07-22 04:45:40 +08:00
  • 65037d051b improved debug warning for freeing invalid pointers daan 2019-07-21 13:09:34 -07:00
  • 2eb607d03f re-add missing thread_init needed when running in debug mode daan 2019-07-21 13:03:51 -07:00
  • 28b874129a Avoid using strlen function in loop Jim Huang 2019-07-21 22:20:05 +08:00
  • 3e9c953eea Add branch prediction hint for mi_option_get Jim Huang 2019-07-21 21:42:00 +08:00
  • 7266e7006a fix typo caixiangyue 2019-07-19 16:23:14 +08:00
  • 8dba36bcec Use checked unsigned multiplication extension of GCC/Clang Jim Huang 2019-07-07 12:56:40 +08:00
  • 46b11fa0a4 add comment about large pages daan 2019-07-15 10:07:23 -07:00
  • 0a81d26c83 fix mimalloc-redirect path on windows cmake build daan 2019-07-23 12:40:42 -07:00
  • 663e63aac2 ensure cmake uses C++ compilation with MSVC daan 2019-07-23 09:59:20 -07:00
  • 48a3d0c6e2 fix 32-bit build of stress test daan 2019-07-23 09:37:36 -07:00
  • 2b911b0b10 fix cmake build on windows daan 2019-07-23 09:36:58 -07:00
  • 6ca8b3fd89 remove old comment daan 2019-07-22 21:25:57 -07:00
  • f0530b6a83 small optimizations, use bitwise aligne daan 2019-07-22 20:51:12 -07:00
  • 7c26ce9280 ensure C++ compilation on windows daan 2019-07-22 10:27:14 -07:00
  • 80e09ef44e merge from dev daan 2019-07-22 10:16:59 -07:00
  • 86cadca059 more comments daan 2019-07-22 16:11:06 -07:00
  • e90938fb4b merge daan 2019-07-22 10:10:45 -07:00
  • 7555260759 Merge branch 'jserv-include-what-you-use' into dev daan 2019-07-22 10:07:03 -07:00
  • 959d9289b1 merge and improve to upper case in options daan 2019-07-22 10:06:45 -07:00