Commit graph

  • 119361c270 Call mi_heap_page_never_delayed_free in mi_heap_absorb Sam Gross 2020-02-12 15:04:36 -05:00
  • 2fbe0e8842 wip: improving tracking of allocation locations daan 2020-02-11 20:27:09 -08:00
  • 21a95c7449 wip: track allocation locations in debug mode Daan Leijen 2020-02-11 12:19:22 -08:00
  • 4090561975 wip: initial work on tracking source of an allocation in debug mode daan 2020-02-11 09:37:26 -08:00
  • 0a77b7423f
    Update readme.md Daan 2020-02-09 19:12:19 -08:00
  • 04f1c3b1e2 bump version to v1.6.0 v1.6.0 dev-exp-tls daan 2020-02-09 18:53:39 -08:00
  • 609703a7f3 Merge branch 'dev-exp-tls' into dev-exp daan 2020-02-09 18:34:23 -08:00
  • 4f3ad24480 Merge branch 'dev' into dev-exp daan 2020-02-09 18:33:53 -08:00
  • 5ba87e56c9 update readme for 1.5 release v1.5.0 daan 2020-02-09 18:32:09 -08:00
  • afe434463a add comments on overriding in macOSX daan 2020-02-09 18:26:50 -08:00
  • 9062f39764 enable interpose separate from zones on macOS daan 2020-02-08 20:08:52 -08:00
  • e676062103 update mac zone code daan 2020-02-05 17:40:13 -08:00
  • e4a11a7750 Merge tag 'v1.4.0' into feature/add-cleanup-mem-function Kirill Pinegin 2020-02-04 15:22:22 +03:00
  • a96e94f940 change TLS slot on OpenBSD daan 2020-02-02 22:46:38 -08:00
  • 3560e0a867 fix TLS slot number on OSX daan 2020-02-02 22:15:09 -08:00
  • b241be7075 reenable mimalloc in the stress test daan 2020-02-02 22:08:33 -08:00
  • 1c2e0a47ca fix noexcept attribute on array delete operators daan 2020-02-02 22:04:53 -08:00
  • d516c9f99c Merge branch 'dev-exp' into dev-exp-tls daan 2020-02-02 22:02:16 -08:00
  • feb0699bcb fix aligment check when padding is enabled dev-win daan 2020-02-02 22:01:04 -08:00
  • f3c47c7c91 improved malloc zone handling on macOSX (not working yet) daan 2020-02-02 21:03:09 -08:00
  • 757dcc8411 extend interpose for macOSX daan 2020-02-02 19:07:26 -08:00
  • f0dc6e7e42 add extra alignment test daan 2020-02-02 16:21:06 -08:00
  • 12c4108abe update comments daan 2020-02-02 16:09:09 -08:00
  • ff75c32d27 Merge branch 'dev-exp' into dev-exp-tls daan 2020-02-02 15:54:51 -08:00
  • 7d3d37e4dd Merge branch 'dev' into dev-exp daan 2020-02-02 15:54:41 -08:00
  • f5ab2c1c49 suppress spurious warnings with clang-cl daan 2020-02-02 15:50:02 -08:00
  • 865965b8c0 fix warnings under clang-cl daan 2020-02-02 15:43:13 -08:00
  • 07fbe4f80f fixes for dragonfly daan 2020-02-02 14:31:28 -08:00
  • 8bc20631e4 fixes for freeBSD daan 2020-02-02 13:25:26 -08:00
  • 2e56bf55c4 Merge branch 'dev' into dev-exp-tls daan 2020-02-02 13:12:26 -08:00
  • d2db9f1fc2 update thread local storage daan 2020-02-02 13:12:22 -08:00
  • 4a5f3592c0 fix build warning on FreeBSD daan 2020-02-02 09:25:39 -08:00
  • bb64634e4e Merge branch 'dev-exp' into dev-exp-tls daan 2020-02-01 17:48:57 -08:00
  • bf2eb55ed1 reformatting daan 2020-02-01 17:48:26 -08:00
  • 8aba40a972 use default declaration for the STL allocator class daan 2020-02-01 17:41:04 -08:00
  • 3f17ac287c add 'nodiscard' attribute to mimalloc interface daan 2020-02-01 17:29:30 -08:00
  • 0989562c2d add initial fast tls for macOSX daan 2020-02-01 16:57:00 -08:00
  • fea903900d use __thread locals on linux daan 2020-02-01 14:33:24 -08:00
  • 10009490b8 Merge branch 'dev-exp' into dev-exp-tls daan 2020-02-01 14:30:34 -08:00
  • 5135c2b96a add test-api to vs solution daan 2020-02-01 14:29:55 -08:00
  • 60cfc623be fix zero initialization of blocks under 8 bytes when padding check is active daan 2020-02-01 14:29:12 -08:00
  • a169cf0e3f merge dev-exp; add pthread TLS support for macOSX daan 2020-02-01 13:11:48 -08:00
  • edff9d4fbb merge from dev-win (padding) daan 2020-02-01 12:32:59 -08:00
  • aa68b8cbc7 improve encoding of padding canary and buffer overflow detection daan 2020-02-01 12:15:12 -08:00
  • 40f1e1e07b byte-precise heap block overflow checking with encoded padding daan 2020-01-31 23:39:51 -08:00
  • 68112a2751 better padding implementation, more precise statistics daan 2020-01-31 20:34:24 -08:00
  • 8422ab125d improve messages; fix reset size calculation on large pages daan 2020-01-31 17:28:26 -08:00
  • 724602b78b enable page-reset by default daan 2020-01-31 17:27:45 -08:00
  • 4531367de2 fix padding check for aligned allocation; improve perf for small aligned allocations daan 2020-01-31 13:20:02 -08:00
  • f820fae858 merge from dev; add retired collect on abandon daan 2020-01-30 07:24:35 -08:00
  • a7c69ccbea fix stat accounting of segments with huge blocks daan 2020-01-30 06:25:42 -08:00
  • ed1c8a203a improve performance with tls recursion counter daan 2020-01-29 23:08:12 -08:00
  • 03b363a1c2 first working tls on macOS using interpose; still slow daan 2020-01-29 22:46:44 -08:00
  • 7ff3ec2bf7 use EFAULT for buffer overflow and call abort in debug mode (as well as secure mode) daan 2020-01-29 17:25:40 -08:00
  • 5d212d688f add MI_PADDING build option to add padding to each block to detect heap block overflows daan 2020-01-29 17:10:57 -08:00
  • 9a532037df merge from dev-exp daan 2020-01-29 07:35:38 -08:00
  • d221a4b904 merge from dev-exp daan 2020-01-27 23:36:53 -08:00
  • b3dae128de Merge branch 'dev' into dev-exp daan 2020-01-27 23:15:37 -08:00
  • 9c166d88f0 increase retire page size daan 2020-01-27 23:15:24 -08:00
  • 42586de104 fix is_zero setting in regions daan 2020-01-27 23:13:57 -08:00
  • 54e206a0a1 increase retire page size daan 2020-01-27 22:41:24 -08:00
  • 09b98e0f7f merge from dev-exp; resolve conflicts daan 2020-01-27 22:14:10 -08:00
  • b50bec463d merge from dev-exp; better abandoned reclamation daan 2020-01-27 22:12:23 -08:00
  • e628fc7067 cleanup reclaim logic daan 2020-01-26 12:39:11 -08:00
  • d4927adddc add extra assertion that all segments are free on thread termination daan 2020-01-25 14:30:02 -08:00
  • 394b796ea0 fix over-eager page reset in segment reclamation daan 2020-01-25 13:43:56 -08:00
  • 4faf412f53 move 'memory.c' to 'region.c' daan 2020-01-25 13:28:49 -08:00
  • 7785139201 fix warning on gcc on attribute ignore in templates daan 2020-01-25 13:28:24 -08:00
  • 62b8fb26b1 fix freeing of segments on forced reclaim daan 2020-01-25 13:27:47 -08:00
  • cb433d272a Merge branch 'dev' into dev-exp-abandon daan 2020-01-25 13:03:06 -08:00
  • 19a0d9dfa0 clean up stress test daan 2020-01-25 12:51:56 -08:00
  • f4630d43a7 allow reset on large pages; check commit status before reset daan 2020-01-25 12:49:14 -08:00
  • 5e32d00aab add visit count to abandoned to limit list length daan 2020-01-25 12:26:08 -08:00
  • 3ec691cfb4 Merge branch 'dev' of https://github.com/microsoft/mimalloc into dev daan 2020-01-25 11:20:17 -08:00
  • 165734939b
    Merge pull request #198 from devnexen/arc4random_api_apple Daan 2020-01-25 09:51:29 -08:00
  • 2b667bd3ae enable arc4random abi under apple David Carlier 2020-01-25 14:47:09 +00:00
  • 072ceb2efe Merge branch 'dev' into dev-exp-abandon daan 2020-01-24 20:20:55 -08:00
  • ecece57284 fix bug in committed check in arena allocation daan 2020-01-24 20:20:43 -08:00
  • 47300eeda3 avoid memset daan 2020-01-24 20:17:33 -08:00
  • b31bc52618 add cache alignment directives for contended variables daan 2020-01-24 19:02:13 -08:00
  • e070eba112 fix tagged null encoding, search segment cache before reclaim daan 2020-01-24 16:30:52 -08:00
  • 9a400ecce9 Merge branch 'dev' into dev-exp-abandon daan 2020-01-24 15:48:34 -08:00
  • 4ae51096ec add warning on region exhaustion daan 2020-01-24 15:45:03 -08:00
  • 06a82e38bc
    fix mismatched parantheses RealKC 2020-01-24 21:46:59 +02:00
  • a8ec04ab4b
    fixed formatting and typo RealKC 2020-01-24 21:36:35 +02:00
  • 28c14d99c3 clean up comments daan 2020-01-24 11:03:12 -08:00
  • 82e9f4a009
    Make mi_stl_allocator::address work with T's with overloaded operator& RealKC 2020-01-24 20:56:40 +02:00
  • 8cf4882a85 fix linux build daan 2020-01-24 10:38:25 -08:00
  • 5037ab7b01
    Mark operator new overloads mi_attr_nodiscard_if_cpp20 RealKC 2020-01-24 20:28:21 +02:00
  • 9b1ca1d0e7
    Add mi_attr_nodiscard_if_cpp20 and mark mi_stl_allocator::allocate overloads as such RealKC 2020-01-24 20:26:42 +02:00
  • 8b1520f5c1 make stress test deterministic daan 2020-01-23 21:53:28 -08:00
  • e68293741e fix assertion, add check for page committed before doing reset daan 2020-01-23 21:44:32 -08:00
  • 58fdcbb0cd fix bug in collect where has_page was not set on free pages daan 2020-01-23 21:37:14 -08:00
  • 4a2a0c2d50 initial abandon based on fine-grained reclamation daan 2020-01-23 19:50:35 -08:00
  • f8ab4bd7dc add leak test daan 2020-01-23 19:49:32 -08:00
  • 12701b1aac do not reclaim segments on collect daan 2020-01-23 15:48:51 -08:00
  • 76e727f7d1 fix assertion on page destroy daan 2020-01-23 15:39:38 -08:00
  • c9106e74a8 remove __thread attribute from mimalloc.h daan 2020-01-23 11:06:25 -08:00
  • cdc34595cf fix warning in msvc daan 2020-01-23 10:52:27 -08:00
  • 6fb434a99b use -fvisibility=hidden on clang as well daan 2020-01-23 10:31:47 -08:00