Commit Graph

  • 9a64d8fe2b Merge branch 'dev' into dev-exp daan 2019-09-02 10:10:08 -07:00
  • 348ad3e76a make output name not depend on build type capitalization (issue #144) daan 2019-09-02 09:57:39 -07:00
  • 8ea07dfd81 Merge branch 'master' into dev daan 2019-09-02 09:53:34 -07:00
  • 0d2d71973f Merge branch 'dev' of https://github.com/microsoft/mimalloc into dev daan 2019-09-02 09:53:30 -07:00
  • 56d2d618af Merge pull request #143 from devnexen/bsd_build_fix Daan 2019-09-02 09:51:12 -07:00
  • 4bb9004627 Merge pull request #145 from pitrou/cmake-disable-tests Daan 2019-09-02 09:50:32 -07:00
  • 3b4355df71 Merge pull request #146 from carenas/master Daan 2019-09-02 09:49:35 -07:00
  • 6da771a20b add more targets for redirection daan 2019-09-02 08:51:31 -07:00
  • a4c78562a2 update redirection modules daan 2019-09-01 17:21:58 -07:00
  • 505394f32c update redirection to include fixes for x86 daan 2019-09-01 12:18:29 -07:00
  • 8a5d800be6 avoid deadlock with OpenBSD Carlo Marcelo Arenas Belón 2019-09-01 01:06:01 -07:00
  • fff87d1bb2 merge from dev daan 2019-08-30 14:38:28 -07:00
  • d9d6eb9c01 guard against passing stdin/stderr as output daan 2019-08-30 14:37:04 -07:00
  • 60f95765f9 in verbose mode, list all options at startup daan 2019-08-30 14:34:46 -07:00
  • 2e0f257b49 update redirection modules; more robust and works on older windows versions daan 2019-08-29 23:37:51 -07:00
  • d5f31a73b6 merge from dev daan 2019-08-29 09:52:22 -07:00
  • 8f7ba3ebb7 make output function configurable; remove <stdio.h> from standard includes daan 2019-08-29 09:42:50 -07:00
  • 4d79fe82ec expose mi_stats_merge function daan 2019-08-29 09:01:00 -07:00
  • 6601c63a3f fix eager_delay test, and allow large OS pages even without eager commit enabled daan 2019-08-29 07:55:57 -07:00
  • cf7b01357a fix mi_likely branch that was marked as unlikely daan 2019-08-29 07:50:35 -07:00
  • 2493f0533d only set has_aligned flag if really necessary daan 2019-08-29 07:49:40 -07:00
  • 5156a3bc0a fix comparison warning daan 2019-08-29 07:48:15 -07:00
  • 796bb742eb rename lazy to eager_commit_delay daan 2019-08-28 12:09:23 -07:00
  • 98b53993f8 track commit and is_large status more precisely daan 2019-08-28 11:58:30 -07:00
  • 8ad3481453 Add an option to disable building tests Antoine Pitrou 2019-08-28 17:26:56 +02:00
  • 7fb24797a0 FreeBSD (and possibly NetBSD) build fix. David Carlier 2019-08-28 07:17:58 +00:00
  • 8d976a0bb9 more precise commit statistics daan 2019-08-27 18:08:03 -07:00
  • 0e4c7bc463 try allocating non-eager segments in non-fixed memory daan 2019-08-27 17:02:56 -07:00
  • 141cefd2d1 Merge branch 'dev' of https://github.com/microsoft/mimalloc into dev daan 2019-08-27 16:40:47 -07:00
  • 32efdfed4b Merge pull request #142 from jserv/clarify-ldpreload Daan 2019-08-27 16:40:21 -07:00
  • 6d5c7f8a96 Merge pull request #141 from devnexen/mac_os_anon_pg_option Daan 2019-08-27 16:39:26 -07:00
  • 3f5b6f73f4 Clarify LD_PRELOAD on dynamically-linked ELF Jim Huang 2019-08-28 06:44:40 +08:00
  • 971253adbe macOS: anonymous page ID make it as env var. David Carlier 2019-08-27 18:43:50 +01:00
  • 1390a764d2 Merge branch 'master' into dev daan 2019-08-27 10:01:20 -07:00
  • f13773d3b3 Merge pull request #137 from nmoinvaz/fixes/bool-perf-warning Daan 2019-08-27 09:58:29 -07:00
  • 7dc9e2a57c Merge pull request #140 from jserv/fix-rt-linkage Daan 2019-08-27 09:56:59 -07:00
  • 4f88b2fe36 track more precisely if memory is fixed or committed daan 2019-08-26 22:45:26 -07:00
  • c2014b8556 graceful fallback for huge page allocation on Linux daan 2019-08-26 13:47:52 -07:00
  • b9d5da90e9 merge from dev-win daan 2019-08-26 12:47:16 -07:00
  • 2c679b02ff remove atomic_iread daan 2019-08-26 12:42:25 -07:00
  • 7d652371af search regions always from the lowest index daan 2019-08-26 12:41:59 -07:00
  • a77e97b460 fix check on gigabyte alignment of huge os pages on windows daan 2019-08-26 12:41:35 -07:00
  • 4008874b39 merge from dev new atomics daan 2019-08-26 12:30:03 -07:00
  • f0e9f77ac7 initialize mimalloc options at process load daan 2019-08-26 11:44:41 -07:00
  • ea0a78338e make cas weak use release memory order; improve free assembly daan 2019-08-26 08:20:26 -07:00
  • 57e245f6c1 strengthen some atomic operations for weak memory models daan 2019-08-26 08:11:15 -07:00
  • 690e1b0af7 fix atomic declaration on windows daan 2019-08-25 23:06:18 -07:00
  • e5ea552963 use proper atomic initialization macros daan 2019-08-25 23:02:41 -07:00
  • ae1caeca00 Use standard _Atomic declarations and clean up atomic operations daan 2019-08-25 22:59:12 -07:00
  • 78bd93ee05 fix 1GB huge page flag on Linux daan 2019-08-25 13:15:26 -07:00
  • 8d38045009 merge from dev-win daan 2019-08-25 13:12:57 -07:00
  • 5a8f87c149 merge from dev daan 2019-08-25 13:07:07 -07:00
  • 0055ef661a put segment cache behind an option and disable by default daan 2019-08-25 12:29:01 -07:00
  • 1811c7b6ad reduce retire size daan 2019-08-25 12:10:18 -07:00
  • b54bdd301b merge from master; fix windows environment reading daan 2019-08-25 11:36:34 -07:00
  • 0f874207ee resolve race on option initialization daan 2019-08-25 11:18:16 -07:00
  • 9863788e86 better object sizes for large objects daan 2019-08-25 10:01:11 -07:00
  • 72c04eb978 reduce page retire words to 32 daan 2019-08-24 17:02:32 -07:00
  • 7f83e1d797 merge from dev; free huge objects directly and keep them abandoned daan 2019-08-24 16:16:09 -07:00
  • c281e6ae9d do not keep a queue of huge pages and free them directly daan 2019-08-24 15:45:14 -07:00
  • 4864681271 enable initial lazy commit and optional decommit to reduce commit charge with many threads daan 2019-08-24 15:00:55 -07:00
  • 2373b4c42f clean up segment slice handling daan 2019-08-24 12:20:32 -07:00
  • b53c4ce78f more conservative setting to avoid internal fragmentation daan 2019-08-24 07:32:23 -07:00
  • d9c67bf1f7 Link with -lrt for older glibc Jim Huang 2019-08-24 21:24:56 +08:00
  • 691b0679e3 merge from dev-win daan 2019-08-23 21:56:28 -07:00
  • 556187c7be fix merge conflicts daan 2019-08-23 21:44:07 -07:00
  • 989e4b3eaf Merge branch 'dev' into dev-win daan 2019-08-23 21:42:32 -07:00
  • ebe33ad289 remove threadid from pages and keep page flags separate (cherry picked) daan 2019-08-23 14:08:00 -07:00
  • e0bd2083b3 ensure volatile declaration for abandoned_next field daan 2019-08-23 13:44:43 -07:00
  • 0cfc378950 on windows use 4TiB area for aligned allocation daan 2019-08-23 21:38:45 -07:00
  • d132f7e29a remove threadid from pages and keep page flags separate daan 2019-08-23 14:08:00 -07:00
  • 73267b6e34 ensure volatile declaration for abandoned_next field daan 2019-08-23 13:44:43 -07:00
  • 396fd797ae use 4TiB area on windows 64-bit for aligned allocation daan 2019-08-23 11:33:06 -07:00
  • bfb8443b0e don't commit or reset in huge OS pages daan 2019-08-23 11:22:35 -07:00
  • d0ce2ae9fc Fixed compiler warning about converting from bool to BOOL (performance warning) Nathan Moinvaziri 2019-08-22 14:47:08 -07:00
  • e4f2555edb Merge pull request #134 from kile0/kile/vs2019 Daan 2019-08-21 16:00:03 -07:00
  • 6ab18d8750 Merge branch 'dev-win' into dev-win-exp daan 2019-08-21 14:38:58 -07:00
  • e9e3074801 merge from remote daan 2019-08-21 11:35:09 -07:00
  • a02b36088c merge from dev-win daan 2019-08-21 11:18:05 -07:00
  • 2f2b70dc0b Merge branch 'dev-win' into dev-exp daan 2019-08-21 11:12:25 -07:00
  • 1b1bc0344a merge with dev-win daan 2019-08-21 11:11:40 -07:00
  • ed29227b39 add warning when no avaiable mem Jakub Szymanski 2019-08-21 11:11:36 -07:00
  • e05f086d72 fix mi_cdecl for older clang versions Daan Leijen 2019-08-21 09:40:57 -07:00
  • 146c23654e Merge branch 'dev' into dev-win Daan Leijen 2019-08-21 08:11:26 -07:00
  • ef475ae254 remove debug statement Daan Leijen 2019-08-21 08:11:16 -07:00
  • 51089b83f1 Merge branch 'dev' into dev-win Daan Leijen 2019-08-21 08:09:37 -07:00
  • 95af79398e fix thread-id reset on page abandonment Daan Leijen 2019-08-21 08:06:40 -07:00
  • f1ef51a56f fix thread-id reset on page abandonment Daan Leijen 2019-08-21 08:06:40 -07:00
  • 6614a3be52 merge dev-win daan 2019-08-20 17:31:46 -07:00
  • 4cc35068db provide a set of solutions that use the vs2019 vcruntime Kirsten Lee 2019-08-20 16:19:16 -07:00
  • 609dceb398 Merge branch 'dev' into dev-win daan 2019-08-20 09:46:05 -07:00
  • 6ba59c31c0 lower block size for keeping retired pages daan 2019-08-20 09:45:50 -07:00
  • 855058d67b optimize stat counter increase daan 2019-08-20 08:58:53 -07:00
  • e7e9662064 Merge branch 'dev' into dev-exp daan 2019-08-20 08:27:46 -07:00
  • 6b911a402b Merge branch 'dev' into dev-win daan 2019-08-20 07:50:03 -07:00
  • b900a7382a fix option_enable call daan 2019-08-20 07:49:40 -07:00
  • e61bd3e634 better option interface: option_enable, option_disable, and option_set_enabled daan 2019-08-20 07:47:50 -07:00
  • 5d1081fea1 merge from dev daan 2019-08-20 07:37:46 -07:00
  • 6e1fb5a310 do not export DllEntry on windows daan 2019-08-20 07:06:53 -07:00
  • e59110eb4a remove the reset_discards option daan 2019-08-20 07:06:11 -07:00