File tree Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 2525 set (HDR_MASK -16888498602639361) # 0xffc3ffffffffffff
2626endif ()
2727
28+ set (HYPERBLOCK_SIZE_MULTIPLIER 1024
29+ CACHE STRING "Default Multiplier for Arena Semispaces size" )
30+
2831set (MAP_LAYOUT 1)
2932set (LIST_LAYOUT 2)
3033set (SET_LAYOUT 3)
Original file line number Diff line number Diff line change 1515#define TAG_MASK @TAG_MASK@LL
1616#define LENGTH_MASK @LENGTH_MASK@
1717
18+ #define HYPERBLOCK_SIZE_MULTIPLIER @HYPERBLOCK_SIZE_MULTIPLIER@
19+
1820#define MAP_LAYOUT @MAP_LAYOUT@
1921#define LIST_LAYOUT @LIST_LAYOUT@
2022#define SET_LAYOUT @SET_LAYOUT@
Original file line number Diff line number Diff line change 88#include < sys/types.h>
99#include < utility>
1010
11+ #include " config/macros.h"
1112#include " runtime/alloc.h"
1213
1314extern " C" {
1415
15- size_t const HYPERBLOCK_SIZE = (size_t )BLOCK_SIZE * 1024 * 1024 ;
16+ size_t const HYPERBLOCK_SIZE
17+ = (size_t )BLOCK_SIZE * HYPERBLOCK_SIZE_MULTIPLIER * 1024 ;
1618
1719// After a garbage collect we change the tripwire to the amount of non-garbage times
1820// this factor, so we do a decent amount of allocations between collections even
You can’t perform that action at this time.
0 commit comments