Skip to content
Permalink
Browse files

8239886: Minimal VM build fails after JDK-8237499

Reviewed-by: dholmes
  • Loading branch information
DamonFool committed Feb 25, 2020
1 parent 9c35471 commit 5a7b5863f0ac34f73496913b4319e73f1eb47e73
Showing with 4 additions and 1 deletion.
  1. +4 −1 src/hotspot/share/prims/jni.cpp
@@ -3660,11 +3660,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();
}
}

0 comments on commit 5a7b586

Please sign in to comment.