8220781: linux-s390 : os::get_summary_cpu_info gives bad output
authormbaesken
Mon, 18 Mar 2019 16:04:23 +0100
changeset 54186 3827cd66e788
parent 54185 8717d7424861
child 54187 f554d3e88da3
8220781: linux-s390 : os::get_summary_cpu_info gives bad output Reviewed-by: dholmes, lucy
src/hotspot/os/linux/os_linux.cpp
--- a/src/hotspot/os/linux/os_linux.cpp	Tue Mar 19 11:15:08 2019 +0000
+++ b/src/hotspot/os/linux/os_linux.cpp	Mon Mar 18 16:04:23 2019 +0100
@@ -2292,7 +2292,7 @@
 #elif defined(PPC64)
 const char* search_string = "cpu";
 #elif defined(S390)
-const char* search_string = "processor";
+const char* search_string = "machine =";
 #elif defined(SPARC)
 const char* search_string = "cpu";
 #else