Commit Graph

  • 0b2b4d68a2 Revert "Add type confusion protection to the default memory provider." David Chisnall 2019-09-12 17:16:48 +01:00
  • dbea595b6e Merge pull request #92 from devnexen/pal_apple_anon_mon Matthew Parkinson 2019-08-27 14:43:42 +01:00
  • 281a88d404 Templatize the Tag ID value David Carlier 2019-08-27 12:52:52 +00:00
  • eed50baf8e Little tweaks David Carlier 2019-08-27 10:35:34 +00:00
  • c881429e2e Using the macro instead David Carlier 2019-08-27 10:03:06 +00:00
  • 24ae5d704e darwin: override zero/non zeroed pages to tag them. David Carlier 2019-08-26 18:57:45 +01:00
  • 7a4b8854f5 Merge pull request #90 from microsoft/minor-fixes Matthew Parkinson 2019-08-15 12:49:44 +01:00
  • 4827b7615b Fix inline statics in Pal_Windows. Matthew Parkinson 2019-08-15 11:25:23 +01:00
  • ae05ed4dfd default_memory_provider is a function now. Matthew Parkinson 2019-08-15 11:25:07 +01:00
  • 6200e1e7eb Merge pull request #88 from microsoft/CI-testing Matthew Parkinson 2019-08-15 11:35:59 +01:00
  • 18da679042 Missing setup call. Matthew Parkinson 2019-08-14 22:11:16 +01:00
  • e7f9b6e0d9 Add missing UNUSED Matthew Parkinson 2019-08-14 14:46:41 +01:00
  • da91c035a9 Shrink size on test on Windows due to taking too long. Matthew Parkinson 2019-08-14 14:21:59 +01:00
  • 9eaadcd6d8 Reduce parallism in tests Matthew Parkinson 2019-08-14 14:21:35 +01:00
  • 56ccd2108c Handle exceptions and print stack traces. Matthew Parkinson 2019-08-14 11:12:32 +01:00
  • f72d75ead8 Print stats on windows machines using WSL. Matthew Parkinson 2019-08-14 09:18:56 +01:00
  • d56201e28d Add type confusion protection to the default memory provider. David Chisnall 2019-08-13 15:01:30 +01:00
  • 6dbe24da2e [NFC] Replace HEADER_GLOBAL with inline (C++17). David Chisnall 2019-08-13 14:03:37 +01:00
  • bbf016bac8 Merge pull request #84 from microsoft/bug-fix David Chisnall 2019-08-13 16:57:21 +01:00
  • e9432fe9ca Shrink reserve as failing in CI. Matthew Parkinson 2019-08-13 16:31:41 +01:00
  • 16b084f501 Changed abort behaviour for Windows CI. Matthew Parkinson 2019-08-13 15:37:54 +01:00
  • d2dc653af2 Make the pagemap global typed. David Chisnall 2019-08-13 13:26:07 +01:00
  • dd3feb948c Deal with wrap around in statistics. Matthew Parkinson 2019-08-13 13:43:20 +01:00
  • bef2fb94d8 Clangformat Matthew Parkinson 2019-08-13 13:27:33 +01:00
  • 2ab4bb4366 Remove new from examples as they don't use it. Matthew Parkinson 2019-08-13 10:56:54 +01:00
  • f545c1c790 Test for debug_check_emtpy. Matthew Parkinson 2019-08-13 10:08:11 +01:00
  • e6b4efd980 Don't apply changes to GlobalPlaceholder. Matthew Parkinson 2019-08-12 18:15:31 +01:00
  • cbb1063e82 Fix up checking for empty to account for stub messages. Matthew Parkinson 2019-08-12 18:16:11 +01:00
  • 6151b7a9b2 Make test_realloc not leak in failure case. Matthew Parkinson 2019-08-11 07:44:36 +01:00
  • a32882cd55 Make malloc functional test check for leaks. Matthew Parkinson 2019-08-11 07:54:51 +01:00
  • 96c4acd5dd Make all functional tests use statistics. Matthew Parkinson 2019-08-11 07:54:09 +01:00
  • 2efa4b14fb Merge pull request #78 from microsoft/docs Matthew Parkinson 2019-08-11 07:47:04 +01:00
  • 9dec0916aa [NFC] Add NetBSD note, missing noexcept. David Chisnall 2019-08-02 12:26:29 +01:00
  • b2a1f43514 [NFC] Fix typos. David Chisnall 2019-08-02 12:18:42 +01:00
  • e310b49b54 [NFC] Update README to discuss porting. David Chisnall 2019-08-02 12:17:00 +01:00
  • 54b6e5f496 Merge pull request #77 from microsoft/pal_refactor David Chisnall 2019-08-02 11:49:26 +01:00
  • b1e4146239 Remove leftover (incorrect) conditional compilation. David Chisnall 2019-08-01 15:31:21 +01:00
  • d53b110c03 Merge pull request #76 from microsoft/pal_refactor David Chisnall 2019-08-01 14:58:40 +01:00
  • 84140722fa Fix typo in NetBSD PAL. David Chisnall 2019-08-01 14:57:15 +01:00
  • b0d0f3e975 Merge pull request #75 from microsoft/pal_refactor David Chisnall 2019-08-01 13:21:03 +01:00
  • caec12c545 Reduce the parallelism in Windows Release build tests. David Chisnall 2019-08-01 12:53:03 +01:00
  • d24ad45abe [NFC] clangformat. David Chisnall 2019-08-01 12:03:35 +01:00
  • 81a0f0aed8 [NFC] Remove one more unneeded include. David Chisnall 2019-08-01 11:50:03 +01:00
  • d11f09e4ec [NFC] Remove incorrect guard and some unused includes. David Chisnall 2019-08-01 11:48:42 +01:00
  • 896cc9cf6f [NFC] Rename some PALs to make the naming more consistent. David Chisnall 2019-08-01 11:43:40 +01:00
  • 2b44b6b5ea Add a NetBSD PAL. David Chisnall 2019-08-01 11:41:08 +01:00
  • fd88b8464b [NFC] Separate out support for aligned allocation from the FreeBSD PAL. David Chisnall 2019-08-01 11:37:00 +01:00
  • cf6fca6514 [NFC] Make the Apple PAL use the generic BSD code. David Chisnall 2019-08-01 11:21:32 +01:00
  • 54cbf8b2bb [NFC] Remove unused headers from OpenBSD PAL. David Chisnall 2019-08-01 11:20:37 +01:00
  • 0497993d23 Fix typo in OpenBSD PAL. David Chisnall 2019-08-01 11:20:05 +01:00
  • d257f60731 [NFC] Add missing doc comments. David Chisnall 2019-08-01 11:03:22 +01:00
  • 4ed15def79 [NFC] Remove some code duplication in the PALs. David Chisnall 2019-08-01 10:44:54 +01:00
  • 5c22521ea1 Merge pull request #74 from devnexen/openbsd_support David Chisnall 2019-08-01 09:19:53 +01:00
  • fdae3b451f Creating base class instead used by both platforms. David Carlier 2019-07-31 11:12:44 +01:00
  • 6b4ff3e7ab Basic OpenBSD backend support. David Carlier 2019-07-30 20:58:38 +01:00
  • c1a7197dd8 Merge pull request #73 from plietar/get_noncachable Paul Liétar 2019-07-17 16:13:17 +01:00
  • b2b86565db Use get_noncachable in malloc/new overrides. Paul Liétar 2019-07-17 14:16:18 +01:00
  • 242f51eaaa Merge pull request #72 from plietar/find-bug Paul Liétar 2019-07-17 14:51:23 +01:00
  • 7047cda8ed Fix warning about shadowing. Paul Liétar 2019-07-17 14:00:34 +01:00
  • b185337c07 Specify a CMakeArgs for every matrix entry. Paul Liétar 2019-07-17 13:54:35 +01:00
  • e87d184926 Remove $(CMakeOptions) that was leftover by accident. Paul Liétar 2019-07-17 13:51:24 +01:00
  • a5379b24d5 Add remove_cache_friendly_offset calls in a few places that were missing it. Paul Liétar 2019-07-17 13:14:59 +01:00
  • ab8ec72738 Merge pull request #71 from microsoft/tls-2 David Chisnall 2019-07-16 11:25:27 +01:00
  • d3f5dcefe4 Fix the libc hook. David Chisnall 2019-07-16 10:55:29 +01:00
  • a2a47d9a50 Clang-tidy Matthew Parkinson 2019-07-15 20:08:16 +01:00
  • 1b0923e141 Clang-tidy Matthew Parkinson 2019-07-15 19:51:11 +01:00
  • 280c2ae25c Refactor ThreadAlloc Matthew Parkinson 2019-07-15 17:49:40 +01:00
  • 89a296aaaa Merge pull request #70 from microsoft/pagemap-splice David Chisnall 2019-07-15 15:11:09 +01:00
  • df1896d55f Improved ThreadAlloc::get API Matthew Parkinson 2019-07-15 15:02:47 +01:00
  • 5e9727c8ca [NFC] clang format. David Chisnall 2019-07-15 15:01:45 +01:00
  • 31267f9d85 Add two APIs that are missing from the flat pagemap. David Chisnall 2019-07-15 13:39:03 +01:00
  • 4ce371f936 Tidy TLS implementation. Matthew Parkinson 2019-07-12 16:45:04 +01:00
  • 4a95de4e8d Merge pull request #68 from microsoft/minor_opts Matthew Parkinson 2019-07-11 09:17:48 +01:00
  • c1c9237b8d Handle 32bit to not allocate way to mcuch. Matthew Parkinson 2019-07-10 16:01:17 +01:00
  • c2785ec661 Reduce test size. Matthew Parkinson 2019-07-09 15:19:46 +01:00
  • 33ff935aee Remove infinite loop from adding message queue check Matthew Parkinson 2019-07-09 14:57:23 +01:00
  • 45f47499c5 Improved pal_supports Matthew Parkinson 2019-07-09 13:14:48 +01:00
  • 23b3e35d6e Add comment about inlining choices. Matthew Parkinson 2019-07-09 13:14:17 +01:00
  • c6178322b0 Minor Matthew Parkinson 2019-07-09 10:53:07 +01:00
  • 9fd238d5fa Move remote dealloc to slow path Matthew Parkinson 2019-07-09 10:52:52 +01:00
  • e240dd279a Use FlatPageMap on OS with lazy commit Matthew Parkinson 2019-07-09 10:41:58 +01:00
  • 1e3f95152e Merge pull request #69 from microsoft/aal David Chisnall 2019-07-10 18:36:42 +01:00
  • bc34e5abe5 Reduce parallelism on the Win8Compat CI job David Chisnall 2019-07-10 11:50:20 +01:00
  • d83828c537 [NFC] Appease clang-tidy. David Chisnall 2019-07-10 11:22:24 +01:00
  • ccaae50dd4 Explicitly include cstdint in the AAL. David Chisnall 2019-07-10 11:05:55 +01:00
  • 7eabea01d6 Add an Architecture Abstraction Layer. David Chisnall 2019-07-10 10:42:59 +01:00
  • e594377b8a Pull out the #defines from bits. David Chisnall 2019-07-09 12:57:12 +01:00
  • c35a3941fe Merge pull request #65 from microsoft/queue_of_slabs David Chisnall 2019-07-08 20:53:06 +01:00
  • 97bfa68258 Merge pull request #64 from microsoft/lazy_tls David Chisnall 2019-07-08 20:52:08 +01:00
  • 3a0cdc05a5 Fix on macOS. David Chisnall 2019-07-08 19:24:56 +01:00
  • d1db6d07ad Use a queue of slabs for free lists Matthew Parkinson 2019-07-05 17:04:55 +01:00
  • 8d216dca3e Remove accidentally committed line. David Chisnall 2019-07-05 17:01:35 +01:00
  • 2efcddfc3d Rework free list so that 0 is the placeholder. David Chisnall 2019-07-05 14:20:24 +01:00
  • 14b5c57b55 Fix all of the tests. David Chisnall 2019-07-05 13:24:28 +01:00
  • a40c71f68e Bump the perf tests up to counting as 4 tests. David Chisnall 2019-07-05 13:03:58 +01:00
  • 50695d07f8 Disable an always_inline with GCC in debug mode. David Chisnall 2019-07-05 11:39:14 +01:00
  • eefc9e49c5 Fix some duplicate inline warnings. David Chisnall 2019-07-05 11:15:38 +01:00
  • 1e65aafa06 Add missing fast-path annotations. David Chisnall 2019-07-05 09:38:58 +01:00
  • 6eeb273cbd Add -fomit-frame-pointer to CMakeLists for optimised builds. David Chisnall 2019-07-05 09:38:18 +01:00
  • 896b248c8c Fix undefined behaviour in FreeBSD PAL. David Chisnall 2019-07-05 09:16:08 +01:00