Commit graph

  • 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
  • 70648635c6
    Merge pull request #113 from jserv/fix-incorrect-path Daan 2019-07-22 09:51:43 -07:00
  • 80400c9946
    Merge pull request #111 from jserv/avoid-strlen-in-loop Daan 2019-07-22 09:51:02 -07:00
  • cf8f46c263
    Merge pull request #110 from jserv/options-branch-predict-hints Daan 2019-07-22 09:49:44 -07:00
  • ce241fd339
    Merge pull request #106 from caixiangyue/fix-typo-719 Daan 2019-07-22 09:44:07 -07:00
  • ade118e23d
    Merge pull request #88 from jserv/gcc-builtin-umul-overflow Daan 2019-07-22 09:28:38 -07:00
  • e4caee5f55 update test files and overriding daan 2019-07-22 01:36:16 -07:00
  • 7091670c22 trailing id after #endif daan 2019-07-21 17:14:13 -07:00
  • 272a8e03e4 use atomic ops to guard large page tries on windows daan 2019-07-21 17:13:36 -07:00
  • 069f52523f use hinted address to mmap to reduce mmap calls daan 2019-07-21 17:08:09 -07:00
  • b0cb27624e CI: Migrate to GCC-7 for Ubuntu Linux Jim Huang 2019-07-22 06:19:56 +08:00
  • 1e27cef873 Enforce strict include-what-you-use policy Jim Huang 2019-07-21 23:21:14 +08:00
  • 146a753d1e Fix path name in documentation about macOS Jim Huang 2019-07-22 04:45:40 +08:00
  • df33efb19a improved debug warning for freeing invalid pointers daan 2019-07-21 13:09:34 -07:00
  • 40cb631683 re-add missing thread_init needed when running in debug mode daan 2019-07-21 13:03:51 -07:00
  • c382c72cf2 Avoid using strlen function in loop Jim Huang 2019-07-21 22:20:05 +08:00
  • 1ffa48cc61 Add branch prediction hint for mi_option_get Jim Huang 2019-07-21 21:42:00 +08:00
  • 37da06298d Use builtin addition overflow checker Jim Huang 2019-07-18 13:15:05 +08:00
  • f0de0b6f68 remove old windows override code daan 2019-07-19 09:33:14 -07:00
  • 2ac2c6a1c3 fix format of error messages daan 2019-07-19 09:27:32 -07:00
  • fcd0253ac9 limit number of error messages to 10 daan 2019-07-19 09:27:14 -07:00
  • dd5fa88c45 check better for valid pointers in free in debug mode daan 2019-07-19 09:26:51 -07:00
  • 81a7ae33e7 fix order of options daan 2019-07-19 09:26:22 -07:00
  • 2f63964e5c update stress test to be more deterministic daan 2019-07-19 08:55:02 -07:00
  • 2a88f7505b Rewrite alignment routines with bitwise operations Jim Huang 2019-07-16 20:09:53 +08:00
  • a215049b4a fix typo caixiangyue 2019-07-19 16:23:14 +08:00
  • fd6fd23470 make eager-region-commit false by default on windows daan 2019-07-18 21:48:58 -07:00
  • 8dad858888 update to correct project settings for visual studio daan 2019-07-18 21:41:28 -07:00
  • 33aa5d92fa fix to overrides on windows daan 2019-07-18 21:20:18 -07:00
  • 93c8a5b693 full overriding api supported daan 2019-07-18 21:12:40 -07:00
  • 306a542336 add mimalloc-override header file and use C++ compilation with msvc daan 2019-07-18 19:52:29 -07:00
  • 12e0a04052 compile as C++ under msvc daan 2019-07-18 19:52:29 -07:00
  • e94143c47c add redirection dll and library daan 2019-07-18 19:26:44 -07:00
  • c228ecefd8 update for new dynamic direction on windows 64-bit daan 2019-07-18 18:59:32 -07:00
  • b6dbb386c0 Explicitly mention code owners Jim Huang 2019-07-18 13:43:54 +08:00
  • f646cc925d add is_in_heap_region function daan 2019-07-17 15:37:36 -07:00
  • 7b5ba96e8e merge from dev daan 2019-07-15 18:58:04 -07:00
  • 8390c46503 disable JustMyCode debugging and whole program optimization as it seems to cause compiler errors sometimes v1.0.5 daan 2019-07-15 17:38:16 -07:00
  • 72d8608333 avoid thread over-allocation on initial region allocations daan 2019-07-15 17:35:43 -07:00
  • 7ea9cf8d1f add region collection daan 2019-07-15 14:53:03 -07:00