mirror of
https://github.com/openjdk/jdk.git
synced 2026-08-03 06:35:31 +00:00
8389588: [s390x] Zero build is broken after JDK-8388561
This commit is contained in:
parent
5b2d6991a1
commit
3b3ec9ad14
@ -478,9 +478,3 @@ int os::extra_bang_size_in_bytes() {
|
||||
|
||||
void os::setup_fpu() {}
|
||||
|
||||
uintptr_t os::vm_page_table_expansion_point() {
|
||||
// On s390x, page table will dynamically expand based on user demand
|
||||
// (eg mmap probing with high addresses). First expansion happens
|
||||
// at 2^42 (4TB).
|
||||
return nth_bit<uintptr_t>(42);
|
||||
}
|
||||
|
||||
@ -1999,6 +1999,13 @@ static void shuffle_fisher_yates(T* arr, unsigned num, FastRandom& frand) {
|
||||
uintptr_t os::vm_page_table_expansion_point() {
|
||||
return align_down(UINTPTR_MAX, os::vm_allocation_granularity());
|
||||
}
|
||||
#else
|
||||
uintptr_t os::vm_page_table_expansion_point() {
|
||||
// On s390x, page table will dynamically expand based on user demand
|
||||
// (eg mmap probing with high addresses). First expansion happens
|
||||
// at 2^42 (4TB).
|
||||
return nth_bit<uintptr_t>(42);
|
||||
}
|
||||
#endif
|
||||
|
||||
// Helper for os::attempt_reserve_memory_between
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user