提交 e0907c9d 编写于 作者: D Denghui Dong 提交者: D-D-H

[Backport] 8239886: Minimal VM build fails after JDK-8237499

Summary:

Test Plan: jdk/test/jdk/jfr

Reviewed-by: zhengxiaolinX, yuleil

Issue: https://github.com/alibaba/dragonwell8/issues/127
上级 d504f843
......@@ -5026,11 +5026,14 @@ static void post_thread_start_event(const JavaThread* jt) {
if (event.should_commit()) {
event.set_thread(JFR_THREAD_ID(jt));
event.set_parentThread((traceid)0);
#if INCLUDE_JFR
if (EventThreadStart::is_stacktrace_enabled()) {
jt->jfr_thread_local()->set_cached_stack_trace_id((traceid)0);
event.commit();
jt->jfr_thread_local()->clear_cached_stack_trace();
} else {
} else
#endif
{
event.commit();
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册