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:
Jie Fu 2021-03-27 09:54:11 +00:00
parent c9d2d024a3
commit 38e0a58f6c
2 changed files with 2 additions and 2 deletions

View File

@ -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)";
}

View File

@ -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)");
}