提交 ba9dde20 编写于 作者: P poonam

8140249: JVM Crashing During startUp If Flight Recording is enabled

Reviewed-by: dholmes
Contributed-by: NShafi Ahmad <shafi.s.ahmad@oracle.com>
上级 15c513d6
...@@ -592,7 +592,7 @@ public: ...@@ -592,7 +592,7 @@ public:
result = _cpuid_info.std_cpuid1_ebx.bits.threads_per_cpu / result = _cpuid_info.std_cpuid1_ebx.bits.threads_per_cpu /
cores_per_cpu(); cores_per_cpu();
} }
return result; return (result == 0 ? 1 : result);
} }
static intx prefetch_data_size() { static intx prefetch_data_size() {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册