Skip to content
Permalink
Browse files

8264273: macOS: zero VM is broken due to no member named 'is_cpu_emul…

…ated' after JDK-8261966

Reviewed-by: iklam
  • Loading branch information
DamonFool committed Mar 27, 2021
1 parent c9d2d02 commit 38e0a58f6c526bb40cba8a2ff55e742303b671e7
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/hotspot/os/bsd/os_bsd.cpp
  2. +1 −1 src/hotspot/share/runtime/os.cpp
@@ -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)");
}

1 comment on commit 38e0a58

@openjdk-notifier

This comment has been minimized.

Copy link

@openjdk-notifier openjdk-notifier bot commented on 38e0a58 Mar 27, 2021

Please sign in to comment.