aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/hotspot/os/bsd/os_bsd.cpp2
-rw-r--r--src/hotspot/share/runtime/os.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/hotspot/os/bsd/os_bsd.cpp b/src/hotspot/os/bsd/os_bsd.cpp
index 81334479489..c2d4df44d35 100644
--- a/src/hotspot/os/bsd/os_bsd.cpp
+++ b/src/hotspot/os/bsd/os_bsd.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)";
}
diff --git a/src/hotspot/share/runtime/os.cpp b/src/hotspot/share/runtime/os.cpp
index b50d3d45ce9..6dbc860e1f9 100644
--- a/src/hotspot/share/runtime/os.cpp
+++ b/src/hotspot/share/runtime/os.cpp
@@ -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)");
}