8264273: macOS: zero VM is broken due to no member named 'is_cpu_emulated' after JDK-8261966
Reviewed-by: iklam
This commit is contained in:
parent
c9d2d024a3
commit
38e0a58f6c
@ -1404,7 +1404,7 @@ void os::get_summary_cpu_info(char* buf, size_t buflen) {
|
||||
}
|
||||
|
||||
const char* emulated = "";
|
||||
#ifdef __APPLE__
|
||||
#if defined(__APPLE__) && !defined(ZERO)
|
||||
if (VM_Version::is_cpu_emulated()) {
|
||||
emulated = " (EMULATED)";
|
||||
}
|
||||
|
@ -1033,7 +1033,7 @@ void os::print_environment_variables(outputStream* st, const char** env_list) {
|
||||
void os::print_cpu_info(outputStream* st, char* buf, size_t buflen) {
|
||||
// cpu
|
||||
st->print("CPU:");
|
||||
#ifdef __APPLE__
|
||||
#if defined(__APPLE__) && !defined(ZERO)
|
||||
if (VM_Version::is_cpu_emulated()) {
|
||||
st->print(" (EMULATED)");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user