Skip to content

Commit

Permalink
change gc pool alignment to 64
Browse files Browse the repository at this point in the history
  • Loading branch information
vchuravy committed May 25, 2017
1 parent e8c587d commit 7e38329
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/julia_internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7e38329

Please sign in to comment.