8239886: Minimal VM build fails after JDK-8237499
Reviewed-by: dholmes
This commit is contained in:
parent
9c35471ae0
commit
5a7b5863f0
@ -3660,11 +3660,14 @@ static void post_thread_start_event(const JavaThread* jt) {
|
|||||||
if (event.should_commit()) {
|
if (event.should_commit()) {
|
||||||
event.set_thread(JFR_THREAD_ID(jt));
|
event.set_thread(JFR_THREAD_ID(jt));
|
||||||
event.set_parentThread((traceid)0);
|
event.set_parentThread((traceid)0);
|
||||||
|
#if INCLUDE_JFR
|
||||||
if (EventThreadStart::is_stacktrace_enabled()) {
|
if (EventThreadStart::is_stacktrace_enabled()) {
|
||||||
jt->jfr_thread_local()->set_cached_stack_trace_id((traceid)0);
|
jt->jfr_thread_local()->set_cached_stack_trace_id((traceid)0);
|
||||||
event.commit();
|
event.commit();
|
||||||
jt->jfr_thread_local()->clear_cached_stack_trace();
|
jt->jfr_thread_local()->clear_cached_stack_trace();
|
||||||
} else {
|
} else
|
||||||
|
#endif
|
||||||
|
{
|
||||||
event.commit();
|
event.commit();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user