Commit Graph

  • 37afe9d079 Clang format Matthew Parkinson 2019-04-25 14:17:43 +01:00
  • f88bcdbf58 Made alloc_chunk typed Matthew Parkinson 2019-04-25 12:13:26 +01:00
  • 2d831920ea Factored casting in external pointer calculation Matthew Parkinson 2019-04-25 12:12:23 +01:00
  • a8618b0892 Use uintptr_t in signature for pagemap Matthew Parkinson 2019-04-25 11:25:53 +01:00
  • 47428a096c Removing some casts and uses of void* Matthew Parkinson 2019-04-25 10:19:42 +01:00
  • 2c613b4f8a Factored casts out of DLL/mpmcstack/mpscq. Matthew Parkinson 2019-04-25 10:18:28 +01:00
  • 4faf9f3bee Use fewer header files Matthew Parkinson 2019-04-15 16:19:50 +01:00
  • 30ad9722a7 Merge pull request #35 from Microsoft/shared_allocator_cmake_support David Chisnall 2019-04-12 13:04:41 +01:00
  • 29e4bdd29d Splitting EXPOSE_EXTERNAL_ALLOCATOR_API to EXPOSE_EXTERNAL_PAGEMAP and EXPOSE_EXTERNAL_RESERVE. Only the shim can be affected by passing the new pre-processor definitions to cmake. Roy Schuster 2019-04-12 12:32:37 +01:00
  • 81030a554f EOL conversion for clang-format Roy Schuster 2019-04-12 10:43:55 +01:00
  • eb2b8a0c80 Checking for redefinition of SNMALLOC_EXPOSE_PAGEMAP, since it can now be a cmake argument Roy Schuster 2019-04-12 10:10:58 +01:00
  • ebc1dab1cf Passing the EXPOSE_SHARED_ALLOCATOR argument to cmake will now expose the external allocator and pagemap sharing API Roy Schuster 2019-04-12 09:51:52 +01:00
  • 8e5f96686a Merge pull request #34 from Microsoft/pagemap_access_refactor David Chisnall 2019-04-12 08:59:22 +01:00
  • ca804c1815 [NFC] clang-format David Chisnall 2019-04-11 17:36:14 +01:00
  • 7f057f308f Fix inverted logic in the type check. David Chisnall 2019-04-11 17:26:04 +01:00
  • 5c1abffdda Fix missing const. David Chisnall 2019-04-11 17:25:53 +01:00
  • 9b3641df91 Address Matt's review comments. David Chisnall 2019-04-11 17:08:16 +01:00
  • 785766b129 Move constants into the right file. David Chisnall 2019-04-11 16:57:12 +01:00
  • cd8ba18191 Delete some dead code that's difficult to use correctly. David Chisnall 2019-04-11 16:55:05 +01:00
  • 9d24f7e24f Fix callers of renamed function. David Chisnall 2019-04-11 10:42:50 +01:00
  • a64cc5562f Remove indirection in the common case. David Chisnall 2019-04-11 10:33:52 +01:00
  • 29b45c3345 Rename the pagemap accessor to be noun-verb. David Chisnall 2019-04-11 10:33:36 +01:00
  • 29aa8ef67e Give up on new making CI support recent clang-format. David Chisnall 2019-04-10 13:25:43 +01:00
  • c673926d15 Add missing const. David Chisnall 2019-04-10 13:13:09 +01:00
  • 6f19d4e1e7 Bump the clang-format version to 7. David Chisnall 2019-04-10 13:09:55 +01:00
  • ad0a22e571 Add missing doc comments. David Chisnall 2019-04-10 12:47:14 +01:00
  • 2442dc4f3f [NFI] clang-format David Chisnall 2019-04-10 12:43:04 +01:00
  • d0fefb8641 Don't always refer to the global pagemap. David Chisnall 2019-04-10 11:57:02 +01:00
  • 607573bb28 Add missing #pragma once to pal_consts.h David Chisnall 2019-04-10 11:56:07 +01:00
  • a93f43fd2f Add some type safety to other pagemap accesses. David Chisnall 2019-04-09 14:59:09 +01:00
  • 51fbdf3a44 ZeroMem should not be a part of pal_consts.h rschust 2019-04-09 13:37:49 +01:00
  • 71900ef947 Created pal_consts.h. New exported functions are now prefixed with "snmalloc_". rschust 2019-04-09 13:35:13 +01:00
  • f0d18760fe Exporting the global pagemap and the default memory provider's reserve function in order to support shared allocators rschust 2019-04-09 09:47:47 +01:00
  • a4dd814f6e [NFC] Clang-format. David Chisnall 2019-02-26 16:18:58 +00:00
  • 9ab0eef85a Restore accidentally deleted variables. David Chisnall 2019-02-26 15:19:15 +00:00
  • 869b22b422 Sort test order so that perf tests start first. David Chisnall 2019-02-25 15:08:28 +00:00
  • 25c365682e Pipeline names can't contain spaces. David Chisnall 2019-02-25 14:22:00 +00:00
  • 11ccf365d3 Move LD_PRELOAD to a separate test. David Chisnall 2019-02-25 14:20:39 +00:00
  • ef50a0282b Attempt to make CI faster. David Chisnall 2019-02-25 13:48:08 +00:00
  • 7f576c74d6 Update docs to mention macOS. David Chisnall 2019-02-25 13:18:50 +00:00
  • feb77ac6c6 Split compile and test CI phases. David Chisnall 2019-02-25 12:55:02 +00:00
  • 45a31e75d1 Add some comments. David Chisnall 2019-02-25 10:48:16 +00:00
  • e371edf11e Attempt at an Apple PAL. David Chisnall 2019-02-22 12:01:50 +00:00
  • aab4de7bc9 First attempt at adding macOS to CI. David Chisnall 2019-02-21 16:46:12 +00:00
  • 6a5359b177 Pull aligned allocation out of the PAL. David Chisnall 2019-02-22 11:45:19 +00:00
  • d6e89b7c60 Fix Matt's code review comments. David Chisnall 2019-02-25 10:42:22 +00:00
  • 01bd77b356 Remove some ugly templated things. David Chisnall 2019-02-21 17:53:15 +00:00
  • f178028640 [NFC] clang-format again. David Chisnall 2019-02-21 16:11:06 +00:00
  • 4036e54879 [NFC] clang-format. David Chisnall 2019-02-21 15:24:21 +00:00
  • 1892538ad1 Clean up PAL feature detection API. David Chisnall 2019-02-21 14:33:48 +00:00
  • 5adba34d60 Make clang happy. David Chisnall 2019-02-21 14:20:53 +00:00
  • a24e6270cc Provide a generic PAL feature detection mechanism. David Chisnall 2019-02-21 14:00:04 +00:00
  • 80630a359f Clean up interface to the low memory notifications. David Chisnall 2019-02-21 13:34:20 +00:00
  • e2a12802d5 Hide the low memory notification PAL code. David Chisnall 2019-02-21 13:32:09 +00:00
  • f6349092c9 Remove debugging define. David Chisnall 2019-02-21 09:47:43 +00:00
  • 6af4c97726 Explicitly qualify a method. David Chisnall 2019-02-21 09:32:11 +00:00
  • 71cfb6da1e [NFC] clangformat David Chisnall 2019-02-21 09:27:50 +00:00
  • e5d330ec7a Fix the tests. David Chisnall 2019-02-21 09:27:10 +00:00
  • 66cec23b23 Initial cut at a lazy decommit strategy. David Chisnall 2019-02-20 16:34:50 +00:00
  • 7a9ce97166 Clangformat Matthew Parkinson 2019-02-20 15:12:41 +00:00
  • 9104f81285 Remove Undefined preprocessor behaviour Matthew Parkinson 2019-02-20 14:53:12 +00:00
  • 98dd9573c7 Fix ifdef Matthew Parkinson 2019-02-20 13:04:04 +00:00
  • 4830bd4021 Check for an SDK version before enabling VirtualAlloc2. David Chisnall 2019-02-19 13:41:26 +00:00
  • 2ee3ba59ee Use VirtualAlloc2 on Windows. David Chisnall 2019-02-19 12:34:53 +00:00
  • 6ec84856df Merge pull request #28 from Microsoft/mpscq Matthew Parkinson 2019-02-19 16:22:00 +00:00
  • 9940fbd363 Fixed typo. Matthew Parkinson 2019-02-19 15:44:23 +00:00
  • d588e8ecb1 Updated to match documentation. Matthew Parkinson 2019-02-19 15:00:55 +00:00
  • ccccd686fb Merge pull request #16 from Microsoft/Sizeclass Matthew Parkinson 2019-02-19 13:07:08 +00:00
  • aac2b9212e Merge pull request #21 from plietar/smart-next Matthew Parkinson 2019-02-19 09:04:23 +00:00
  • ffe496dd18 Address review comments. Paul Liétar 2019-02-18 21:29:32 +00:00
  • 66400af419 Add a cache-friendly version of the tests. Paul Liétar 2019-02-18 14:50:58 +00:00
  • 4ac3421487 Place the next pointer at a different place on every object. Paul Liétar 2019-02-12 19:08:31 +00:00
  • c47eed1922 Tweaks to end bounds checking. David Chisnall 2019-02-15 11:09:05 +00:00
  • 9a6b0aef1f Merge pull request #23 from Microsoft/comment Theo Butler 2019-02-15 13:42:59 -05:00
  • 5e149b083f One more constexpr Matthew Parkinson 2019-02-15 17:43:27 +00:00
  • 8698f87018 Added some constexpr to some ifs. Matthew Parkinson 2019-02-15 16:12:38 +00:00
  • c02077a06a Bug fix in umul code for 32-bit Win Matthew Parkinson 2019-02-15 13:35:20 +00:00
  • e7d90966f6 Made the malloc tests run on Windows Matthew Parkinson 2019-02-15 11:45:28 +00:00
  • ac8e5e4e5b Fix comment to represent current PAL API. Matthew Parkinson 2019-02-15 09:24:01 +00:00
  • bf58015c25 Merge pull request #20 from Theodus/malloc-tests Matthew Parkinson 2019-02-15 09:12:07 +00:00
  • a3fb2b9531 cleanup some tests Theo Butler 2019-02-14 22:31:45 -05:00
  • d2909eed0a Merge branch 'master' into malloc-tests Theo Butler 2019-02-14 22:30:48 -05:00
  • 90414f82f6 Merge pull request #22 from Microsoft/zero_bug Theo Butler 2019-02-14 22:26:18 -05:00
  • adeecfb0f1 Added bug fix to alignment of using. Matthew Parkinson 2019-02-14 19:59:58 +00:00
  • 8b9a525500 Added zero test at threshold. Matthew Parkinson 2019-02-14 19:59:36 +00:00
  • c555bf7218 fix doc comments for notify_using Theo Butler 2019-02-13 17:15:06 -05:00
  • 35803305f2 Merge pull request #19 from plietar/visibility Matthew Parkinson 2019-02-13 21:50:00 +00:00
  • 057595a57e remove -1 check in calloc Theo Butler 2019-02-13 16:03:38 -05:00
  • 942313fec7 replace asserts with abort Theo Butler 2019-02-13 10:03:41 -05:00
  • 24ba068dce remove randomness from malloc tests Theo Butler 2019-02-13 08:42:51 -05:00
  • 0ff2301083 use malloc shim in malloc tests Theo Butler 2019-02-13 08:12:07 -05:00
  • e42551bb15 only build malloc tests on POSIX platforms Theo Butler 2019-02-12 22:05:36 -05:00
  • a9615bc6aa mark variables unused in release build theodus 2019-02-12 20:22:10 -05:00
  • f6497e6ee3 Add malloc tests Theo Butler 2019-02-12 19:50:15 -05:00
  • 8d8761f248 Make internal symbols hidden. Paul Liétar 2019-02-11 22:16:47 +00:00
  • a7f0695776 Merge pull request #17 from plietar/fix-align Matthew Parkinson 2019-02-12 13:10:53 +00:00
  • 79b432ddab Fix the condition on when to allocate a new block. Paul Liétar 2019-02-12 11:50:56 +00:00
  • e004641cec Added to comment. Matthew Parkinson 2019-02-09 14:11:30 +00:00
  • 9981bad9b5 clang format Matthew Parkinson 2019-02-08 20:37:45 +00:00
  • 1272078487 Simplified size class calculation Matthew Parkinson 2019-02-08 20:32:38 +00:00