equal
deleted
inserted
replaced
40 static bool _supports_atomic_getset4; |
40 static bool _supports_atomic_getset4; |
41 static bool _supports_atomic_getset8; |
41 static bool _supports_atomic_getset8; |
42 static bool _supports_atomic_getadd4; |
42 static bool _supports_atomic_getadd4; |
43 static bool _supports_atomic_getadd8; |
43 static bool _supports_atomic_getadd8; |
44 static unsigned int _logical_processors_per_package; |
44 static unsigned int _logical_processors_per_package; |
|
45 static unsigned int _L1_data_cache_line_size; |
45 static int _vm_major_version; |
46 static int _vm_major_version; |
46 static int _vm_minor_version; |
47 static int _vm_minor_version; |
47 static int _vm_micro_version; |
48 static int _vm_micro_version; |
48 static int _vm_build_number; |
49 static int _vm_build_number; |
49 static bool _initialized; |
50 static bool _initialized; |
96 |
97 |
97 static unsigned int logical_processors_per_package() { |
98 static unsigned int logical_processors_per_package() { |
98 return _logical_processors_per_package; |
99 return _logical_processors_per_package; |
99 } |
100 } |
100 |
101 |
|
102 static unsigned int L1_data_cache_line_size() { |
|
103 return _L1_data_cache_line_size; |
|
104 } |
|
105 |
101 // Need a space at the end of TLAB for prefetch instructions |
106 // Need a space at the end of TLAB for prefetch instructions |
102 // which may fault when accessing memory outside of heap. |
107 // which may fault when accessing memory outside of heap. |
103 static int reserve_for_allocation_prefetch() { |
108 static int reserve_for_allocation_prefetch() { |
104 return _reserve_for_allocation_prefetch; |
109 return _reserve_for_allocation_prefetch; |
105 } |
110 } |