File tree 3 files changed +8
-1
lines changed
3 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 25
25
set (HDR_MASK -16888498602639361) # 0xffc3ffffffffffff
26
26
endif ()
27
27
28
+ set (HYPERBLOCK_SIZE_MULTIPLIER 1024
29
+ CACHE STRING "Default Multiplier for Arena Semispaces size" )
30
+
28
31
set (MAP_LAYOUT 1)
29
32
set (LIST_LAYOUT 2)
30
33
set (SET_LAYOUT 3)
Original file line number Diff line number Diff line change 15
15
#define TAG_MASK @TAG_MASK@LL
16
16
#define LENGTH_MASK @LENGTH_MASK@
17
17
18
+ #define HYPERBLOCK_SIZE_MULTIPLIER @HYPERBLOCK_SIZE_MULTIPLIER@
19
+
18
20
#define MAP_LAYOUT @MAP_LAYOUT@
19
21
#define LIST_LAYOUT @LIST_LAYOUT@
20
22
#define SET_LAYOUT @SET_LAYOUT@
Original file line number Diff line number Diff line change 8
8
#include < sys/types.h>
9
9
#include < utility>
10
10
11
+ #include " config/macros.h"
11
12
#include " runtime/alloc.h"
12
13
13
14
extern " C" {
14
15
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 ;
16
18
17
19
// After a garbage collect we change the tripwire to the amount of non-garbage times
18
20
// 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