Commit graph

  • cd0ebc89ad Merge branch 'dev' into dev-debug daan 2020-05-19 13:32:44 -07:00
  • 66048cb6cc fix return value for page_unreset daan 2020-05-19 13:31:24 -07:00
  • 25ee3a5373 merge from dev daan 2020-05-19 10:44:48 -07:00
  • bb6e8616ff Merge branch 'dev' into dev-debug daan 2020-05-19 10:43:58 -07:00
  • cb05ef9f2c merge from dev daan 2020-05-19 10:43:46 -07:00
  • 6f73cc8b1d Merge branch 'master' into dev daan 2020-05-19 10:41:08 -07:00
  • a09a64e29b add extra check in mi_page_unreset to not unreset for huge OS pages daan 2020-05-19 10:40:46 -07:00
  • 0ed478089e
    Merge pull request #242 from devnexen/ios_build_fix Daan 2020-05-19 10:21:32 -07:00
  • a7d2bc8ad6 edit warning messages to be more consistent daan 2020-05-19 10:16:28 -07:00
  • 74986c1dd1 weaken aligmenment assertion (issue #245) daan 2020-05-19 09:56:37 -07:00
  • a52b38342d Merge branch 'dev' of https://github.com/microsoft/mimalloc into dev daan 2020-05-19 09:55:08 -07:00
  • 82e29f47b3 weaken assertion, #245 daan 2020-05-18 18:51:06 -07:00
  • c9ffe30513 weaken alignment requirement to not need to be a multiple of sizeof(void*); see #246 Daan Leijen 2020-05-18 10:17:58 -07:00
  • bf6b781e40 fix semicolon (#247) Daan Leijen 2020-05-18 10:07:45 -07:00
  • e2bdc4e7d2 support aligned allocation calls with alignments < pointer size needed for e.g. code bases like LLVM Christoph Cullmann 2020-05-18 09:10:04 +02:00
  • 0ea4e3f279 IOS build fix, large pages unsupported. David Carlier 2020-05-07 20:09:16 +01:00
  • 967513d536 add extra checks if unreset (commit) succeeds daan 2020-05-06 11:35:35 -07:00
  • 4f020e5da4 put a bound on the environment search daan 2020-05-05 20:19:20 -07:00
  • 45974efdb7 use environ on posix systems to read environment variables before the C runtime is initialized (issue #241) daan 2020-05-05 19:37:50 -07:00
  • e3744fa3fe merge from dev daan 2020-05-05 11:00:36 -07:00
  • 53aa46890a merge from dev daan 2020-05-05 10:54:59 -07:00
  • cefc930f72 bump version to 1.6.4 for further development daan 2020-05-05 10:47:46 -07:00
  • ccb51c6abe disable artifact uploading in dev daan 2020-05-05 10:46:39 -07:00
  • e6c7b778fb update readme for v1.6.3 v1.6.3 daan 2020-05-05 10:45:10 -07:00
  • 775e1bfd7a allow uploading artifacts for master branch daan 2020-05-05 10:38:25 -07:00
  • 29cb8f369a slight cleanup of f10ba4fa, #239 daan 2020-05-05 10:24:16 -07:00
  • f10ba4fa44
    Merge pull request #239 from asl/oom-collect Daan 2020-05-05 10:16:28 -07:00
  • a278db940b improve thread-id check for thread local FLS callbacks on Windows with static linking daan 2020-05-05 10:10:46 -07:00
  • 7c24edfeb0 add thread-id check for thread local FLS callbacks on Windows with static linking; found by @jasongibson daan 2020-05-04 14:31:32 -07:00
  • fd9faee5d4 update cmake with nicer message which targets are build daan 2020-05-04 11:01:11 -07:00
  • 66ce1d54e4 Merge branch 'dev' of https://github.com/microsoft/mimalloc into dev daan 2020-05-04 09:54:42 -07:00
  • cd7203d62c
    Merge pull request #237 from asl/cmake-build-variants Daan 2020-05-04 09:54:24 -07:00
  • ff4f1c3e5d
    Merge branch 'dev' into cmake-build-variants Daan 2020-05-04 09:51:09 -07:00
  • 74ea69b784 increase default arena reset delay (behaves better on 36+ core systems) daan 2020-05-03 16:33:29 -07:00
  • 3130d55796 nicer json output daan 2020-05-03 16:29:15 -07:00
  • 07c0ed12a9 Merge branch 'dev' into dev-debug daan 2020-05-03 13:02:10 -07:00
  • fd0891f224 merge from dev daan 2020-05-03 11:44:55 -07:00
  • 9c0da9776d fix assertion for huge block size daan 2020-05-03 11:43:57 -07:00
  • cce998a835 fix assertion for huge blocks daan 2020-05-03 11:42:49 -07:00
  • 30799bce73 fix assertion for huge segments daan 2020-05-03 11:42:38 -07:00
  • 28f4f1ce04 nice cache initialization daan 2020-05-03 10:45:46 -07:00
  • faa67ff30b Merge branch 'dev' into dev-debug daan 2020-05-02 22:23:22 -07:00
  • f8dc2a3130 Merge branch 'dev' into dev-arena daan 2020-05-02 22:23:11 -07:00
  • ea4931f53b Merge branch 'master' into dev daan 2020-05-02 22:22:52 -07:00
  • e5b72cdfe7 reduce segment size and increase cache daan 2020-05-02 22:22:35 -07:00
  • ea92fb2fe4 lower arena reset delay daan 2020-05-02 21:40:14 -07:00
  • a801b8e7f1 Update readme with descriptions of secure and debug mode Daan 2020-05-02 18:08:31 -07:00
  • a4b7baf6fd
    Update readme with descriptions of secure and debug mode Daan 2020-05-02 18:08:31 -07:00
  • 69158f2c76 roll back again to new arena cache: previous perf regression was caused due to accidentally making secure mode default daan 2020-05-02 12:04:36 -07:00
  • 18d697a1e6 roll back to old arena cache as it seems to do better on AMD daan 2020-05-02 11:57:33 -07:00
  • 66e5484c1c fix assertions for huge pages in secure mode daan 2020-05-02 11:23:25 -07:00
  • b8846f7a27 fix unprotect of guard pages daan 2020-05-02 10:51:10 -07:00
  • 37b43e4cea improved arena cache daan 2020-05-02 10:37:33 -07:00
  • 1b158d8e80 set max retire size to MAX_MEDIUM_OBJ_SIZE daan 2020-05-02 10:37:07 -07:00
  • 84e1f7c92e merge from dev daan 2020-05-02 00:23:22 -07:00
  • 097c007ba3 reduce page retire cycles based on object size daan 2020-05-02 00:19:20 -07:00
  • dd18852946 reduce page retire cycles daan 2020-05-02 00:13:40 -07:00
  • 01ad553978 set default reset delay to 250ms daan 2020-05-02 00:13:03 -07:00
  • 79da2728c4 reduce cache daan 2020-05-02 00:12:45 -07:00
  • 8bfd5ec865 improve arena cache to avoid full scans daan 2020-05-01 23:00:17 -07:00
  • dcb3574cf0 fix assertions for huge segment free daan 2020-05-01 21:14:41 -07:00
  • 81bd1b70b0
    Merge pull request #238 from asl/gcc-6-aligned-dealloc Daan 2020-05-01 14:16:20 -07:00
  • 866fd0e8f5
    Merge pull request #240 from andronat/master Daan 2020-05-01 14:15:17 -07:00
  • 5c03e9dc79 Compile static and obj targets with PIC Anastasios Andronidis 2020-05-01 17:07:17 +01:00
  • 8e4e8c93a7 merge from dev daan 2020-04-30 20:40:48 -07:00
  • 5cfdc39ff1 remove on-demand page commit option daan 2020-04-30 18:23:33 -07:00
  • d8b0a9dc24 Merge branch 'master' into dev daan 2020-04-30 18:13:09 -07:00
  • 07a17dfeae fix initialization of union padding; issue found through valgrind by @jasongibson daan 2020-04-30 17:39:34 -07:00
  • 0af9dd6fd2 fix initialization of union padding; issue found through valgrind by @jasongibson daan 2020-04-30 17:39:34 -07:00
  • dad3be3c64 update comments daan 2020-04-30 17:21:36 -07:00
  • c609248f0e do delayed decommit if not reclaiming abandoned blocks daan 2020-04-30 13:30:19 -07:00
  • 0d25493c39 segment size to 16MiB to improve perf on mstress and rptest daan 2020-04-28 16:50:03 -07:00
  • f86519bca6 make lazy commit default; add commit check on segment allocation daan 2020-04-28 16:46:00 -07:00
  • 1b0de9b4cf merge from dev daan 2020-04-28 16:22:38 -07:00
  • fdd1cd821a In OOM case try to force collect memory and retry the allocation. Anton Korobeynikov 2020-04-29 02:10:11 +03:00
  • 9a33f23b5f fix MI_SHOW_ERRORS on msvc daan 2020-04-28 11:11:23 -07:00
  • 8f5710abcc Merge branch 'master' into dev daan 2020-04-28 11:07:55 -07:00
  • 198ea4476c
    Merge pull request #236 from nico-abram/patch-1 Daan 2020-04-28 10:54:58 -07:00
  • e47bc01fa6
    Merge pull request #233 from asl/xmalloc Daan 2020-04-28 10:53:46 -07:00
  • 07e80aebb7
    Merge branch 'dev' into xmalloc Daan 2020-04-28 10:53:34 -07:00
  • 9ba16f2df9
    Merge pull request #232 from asl/cmake-err-warn-default Daan 2020-04-28 10:51:30 -07:00
  • 0b440d9543 Apparently gcc 6 defines __cpp_aligned_new in C++14 mode, however no std::align_val_t is available there for obvious reasons Anton Korobeynikov 2020-04-28 19:09:54 +03:00
  • d4363bbaf8 Add possibility to selectively enable / disable builing of different targets. Anton Korobeynikov 2020-04-28 18:12:43 +03:00
  • 079b886feb Add cmake option to specify whether warnings / errors are enabled by default. Anton Korobeynikov 2020-04-21 10:27:42 +03:00
  • 2f1fc1df5c Add xmalloc()-like functionality. Anton Korobeynikov 2020-04-21 11:39:57 +03:00
  • f40aaad876
    Fix typo in comment Nicolas 2020-04-24 23:20:28 -03:00
  • fd24b1cd31
    Merge pull request #7 from microsoft/dev synacker 2020-04-24 23:13:57 +03:00
  • 1f8cc50c6b disable artifact uploading for now as it exceeds the storage space Daan Leijen 2020-04-24 07:48:22 -07:00
  • 798cd6647d use line-buffered output for statistics (issue #235 Daan Leijen 2020-04-24 07:43:21 -07:00
  • eb3e849a3a
    Merge pull request #6 from microsoft/dev synacker 2020-04-24 12:24:06 +03:00
  • 96d685e93e
    Return reset decommits synacker 2020-04-24 12:19:46 +03:00
  • a5bf45cd1e add commit check on page reclaim daan 2020-04-23 21:01:06 -07:00
  • 74a01d05af check commit/protect if eager_commit is disabled daan 2020-04-23 20:48:55 -07:00
  • 7123efb397 pass full commit flag to free, possible fix for issue #218 daan 2020-04-23 20:19:48 -07:00
  • 0d3c141243 add check for if commit fails in segment allocation daan 2020-04-23 17:28:44 -07:00
  • 15bb20f9e6
    Merge pull request #234 from asl/osx-zone Daan 2020-04-21 10:15:39 -07:00
  • 64e722f754 Set reset_decommits to zero for 32 bit os Milovidov Mikhail 2020-04-21 19:39:55 +03:00
  • c1f07a74a1 Changed condition for large pages Milovidov Mikhail 2020-04-21 15:43:02 +03:00
  • fe976caaea Provide zone_size function: free() uses it to find the zone pointer belongs to in order to call the corresponding zone_free function Anton Korobeynikov 2020-04-21 15:10:49 +03:00
  • 07d72f4fba Do not forget to include malloc zone implementation in the static object Anton Korobeynikov 2020-04-21 15:08:27 +03:00