# HG changeset patch # User kzhaldyb # Date 1454945187 -10800 # Mon Feb 08 18:26:27 2016 +0300 # Node ID 1e596665c8cd18c21b6b8401eaa6be7bc3b45853 # Parent 78f06e5daedf633e54f2b2305b1d49111885352a 8149184: os::is_server_class_machine() could return incorrect result if a host's cpu have a few logical cores Reviewed-by: duke diff --git a/src/share/vm/runtime/os.cpp b/src/share/vm/runtime/os.cpp --- a/src/share/vm/runtime/os.cpp +++ b/src/share/vm/runtime/os.cpp @@ -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 {