Skip to content

Commit 6170f82

Browse files
committed
allow alignment up to 64
1 parent 1943cce commit 6170f82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/julia_internal.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ void gc_sweep_sysimg(void);
154154
#define JL_SMALL_BYTE_ALIGNMENT 16
155155
#define JL_CACHE_BYTE_ALIGNMENT 64
156156
// JL_HEAP_ALIGNMENT is the maximum alignment that the GC can provide
157-
#define JL_HEAP_ALIGNMENT JL_SMALL_BYTE_ALIGNMENT
157+
#define JL_HEAP_ALIGNMENT JL_CACHE_BYTE_ALIGNMENT
158158
#define GC_MAX_SZCLASS (2032-sizeof(void*))
159159

160160
// pools are 16376 bytes large (GC_POOL_SZ - GC_PAGE_OFFSET)

0 commit comments

Comments
 (0)