diff --git a/doc/mimalloc-doc.h b/doc/mimalloc-doc.h index 9525c9ea..4c23a5fa 100644 --- a/doc/mimalloc-doc.h +++ b/doc/mimalloc-doc.h @@ -927,7 +927,7 @@ template struct mi_stl_allocator { } /*! \page build Building -Checkout the sources from Github: +Checkout the sources from GitHub: ``` git clone https://github.com/microsoft/mimalloc ``` diff --git a/docs/build.html b/docs/build.html index eac5392b..41e0199f 100644 --- a/docs/build.html +++ b/docs/build.html @@ -98,7 +98,7 @@ $(document).ready(function(){initNavTree('build.html',''); initResizable(); });
Building
-

Checkout the sources from Github:

git clone https://github.com/microsoft/mimalloc
+

Checkout the sources from GitHub:

git clone https://github.com/microsoft/mimalloc

Windows

Open ide/vs2019/mimalloc.sln in Visual Studio 2019 and build (or ide/vs2017/mimalloc.sln). The mimalloc project builds a static library (in out/msvc-x64), while the mimalloc-override project builds a DLL for overriding malloc in the entire program.

macOS, Linux, BSD, etc.

diff --git a/src/init.c b/src/init.c index 565cffd9..38f62f65 100644 --- a/src/init.c +++ b/src/init.c @@ -507,7 +507,7 @@ static void mi_detect_cpu_features(void) { // FSRM for fast rep movsb support (AMD Zen3+ (~2020) or Intel Ice Lake+ (~2017)) int32_t cpu_info[4]; __cpuid(cpu_info, 7); - _mi_cpu_has_fsrm = ((cpu_info[3] & (1 << 4)) != 0); // bit 4 of EDX : see + _mi_cpu_has_fsrm = ((cpu_info[3] & (1 << 4)) != 0); // bit 4 of EDX : see } #else static void mi_detect_cpu_features(void) { diff --git a/src/prim/unix/prim.c b/src/prim/unix/prim.c index 608e96ce..c12e4c0d 100644 --- a/src/prim/unix/prim.c +++ b/src/prim/unix/prim.c @@ -652,7 +652,7 @@ void _mi_prim_out_stderr( const char* msg ) { //---------------------------------------------------------------- #if !defined(MI_USE_ENVIRON) || (MI_USE_ENVIRON!=0) -// On Posix systemsr use `environ` to acces environment variables +// On Posix systemsr use `environ` to access environment variables // even before the C runtime is initialized. #if defined(__APPLE__) && defined(__has_include) && __has_include() #include diff --git a/test/test-stress.c b/test/test-stress.c index 87e41736..f253000f 100644 --- a/test/test-stress.c +++ b/test/test-stress.c @@ -7,7 +7,7 @@ terms of the MIT license. /* This is a stress test for the allocator, using multiple threads and transferring objects between threads. It tries to reflect real-world workloads: - allocation size is distributed linearly in powers of two - - with some fraction extra large (and some extra extra large) + - with some fraction extra large (and some very large) - the allocations are initialized and read again at free - pointers transfer between threads - threads are terminated and recreated with some objects surviving in between