8149184: os::is_server_class_machine() could return incorrect result if a host's cpu have a few logical cores
Reviewed-by: dsamersoff, dholmes
--- a/hotspot/src/share/vm/runtime/os.cpp Thu Dec 17 16:12:58 2015 +0300
+++ b/hotspot/src/share/vm/runtime/os.cpp Mon Feb 08 18:26:27 2016 +0300
@@ -1490,7 +1490,7 @@
if (logical_processors > 1) {
const unsigned int physical_packages =
os::active_processor_count() / logical_processors;
- if (physical_packages > server_processors) {
+ if (physical_packages >= server_processors) {
result = true;
}
} else {