mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-24 04:54:40 +02:00
Merge
This commit is contained in:
commit
e051932425
57 changed files with 389 additions and 378 deletions
|
@ -42,6 +42,7 @@ class Abstract_VM_Version: AllStatic {
|
|||
static bool _supports_atomic_getadd4;
|
||||
static bool _supports_atomic_getadd8;
|
||||
static unsigned int _logical_processors_per_package;
|
||||
static unsigned int _L1_data_cache_line_size;
|
||||
static int _vm_major_version;
|
||||
static int _vm_minor_version;
|
||||
static int _vm_micro_version;
|
||||
|
@ -98,6 +99,10 @@ class Abstract_VM_Version: AllStatic {
|
|||
return _logical_processors_per_package;
|
||||
}
|
||||
|
||||
static unsigned int L1_data_cache_line_size() {
|
||||
return _L1_data_cache_line_size;
|
||||
}
|
||||
|
||||
// Need a space at the end of TLAB for prefetch instructions
|
||||
// which may fault when accessing memory outside of heap.
|
||||
static int reserve_for_allocation_prefetch() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue