From 8be4cee4186120c32def9789c450a185c7213914 Mon Sep 17 00:00:00 2001 From: daan Date: Wed, 16 Nov 2022 18:52:40 -0800 Subject: [PATCH] change max align size to 8 --- include/mimalloc-types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/mimalloc-types.h b/include/mimalloc-types.h index f3af528e..a7c4d3c6 100644 --- a/include/mimalloc-types.h +++ b/include/mimalloc-types.h @@ -19,7 +19,7 @@ terms of the MIT license. A copy of the license can be found in the file // Minimal alignment necessary. On most platforms 16 bytes are needed // due to SSE registers for example. This must be at least `sizeof(void*)` #ifndef MI_MAX_ALIGN_SIZE -#define MI_MAX_ALIGN_SIZE 16 // sizeof(max_align_t) +#define MI_MAX_ALIGN_SIZE 8 // sizeof(max_align_t) #endif // ------------------------------------------------------