# HG changeset patch # User poonam # Date 1446218959 25200 # Node ID 522ea1472a627857902771207b1bac8260a03a37 # Parent 29d7e9b9878b845827026a089615b63362039c5d 8140249: JVM Crashing During startUp If Flight Recording is enabled Reviewed-by: dholmes Contributed-by: Shafi Ahmad diff -r 29d7e9b9878b -r 522ea1472a62 src/cpu/x86/vm/vm_version_x86.hpp --- a/src/cpu/x86/vm/vm_version_x86.hpp Mon Nov 09 13:51:13 2015 -0800 +++ b/src/cpu/x86/vm/vm_version_x86.hpp Fri Oct 30 08:29:19 2015 -0700 @@ -592,7 +592,7 @@ result = _cpuid_info.std_cpuid1_ebx.bits.threads_per_cpu / cores_per_cpu(); } - return result; + return (result == 0 ? 1 : result); } static intx prefetch_data_size() {