From 7e383294c477f0bdbf505b5a6f40bfe6c621a3ee Mon Sep 17 00:00:00 2001 From: Valentin Churavy Date: Thu, 25 May 2017 14:39:06 +0900 Subject: [PATCH] change gc pool alignment to 64 --- src/julia_internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/julia_internal.h b/src/julia_internal.h index baea871d420fc..652f69c7e83af 100644 --- a/src/julia_internal.h +++ b/src/julia_internal.h @@ -135,7 +135,7 @@ void *jl_gc_perm_alloc(size_t sz, int zero, unsigned align, unsigned offset); #define JL_SMALL_BYTE_ALIGNMENT 16 #define JL_CACHE_BYTE_ALIGNMENT 64 // JL_HEAP_ALIGNMENT is the maximum alignment that the GC can provide -#define JL_HEAP_ALIGNMENT JL_SMALL_BYTE_ALIGNMENT +#define JL_HEAP_ALIGNMENT JL_CACHE_BYTE_ALIGNMENT #define GC_MAX_SZCLASS (2032-sizeof(void*)) // pools are 16376 bytes large (GC_POOL_SZ - GC_PAGE_OFFSET)