File tree Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change 34
34
#include < sys/mman.h>
35
35
#endif // LINUX
36
36
37
- // Default value if probing is not implemented for a certain platform: 128TB
38
- static const size_t DEFAULT_MAX_ADDRESS_BIT = 47 ;
39
- // Minimum value returned, if probing fails: 64GB
37
+ // Default value if probing is not implemented for a certain platform
38
+ // Max address bit is restricted by implicit assumptions in the code, for instance
39
+ // the bit layout of ZForwardingEntry or Partial array entry (see ZMarkStackEntry) in mark stack
40
+ static const size_t DEFAULT_MAX_ADDRESS_BIT = 46 ;
41
+ // Minimum value returned, if probing fail
40
42
static const size_t MINIMUM_MAX_ADDRESS_BIT = 36 ;
41
43
42
44
static size_t probe_valid_max_address_bit () {
Original file line number Diff line number Diff line change 36
36
#include < sys/mman.h>
37
37
#endif // LINUX
38
38
39
- // Default value if probe is not implemented for a certain platform: 128TB
40
- static const size_t DEFAULT_MAX_ADDRESS_BIT = 47 ;
41
- // Minimum value returned, if probing fails: 64GB
39
+ // Default value if probing is not implemented for a certain platform
40
+ // Max address bit is restricted by implicit assumptions in the code, for instance
41
+ // the bit layout of ZForwardingEntry or Partial array entry (see ZMarkStackEntry) in mark stack
42
+ static const size_t DEFAULT_MAX_ADDRESS_BIT = 46 ;
43
+ // Minimum value returned, if probing fail
42
44
static const size_t MINIMUM_MAX_ADDRESS_BIT = 36 ;
43
45
44
46
static size_t probe_valid_max_address_bit () {
You can’t perform that action at this time.
0 commit comments