Skip to content
Permalink
Browse files
8239886: Minimal VM build fails after JDK-8237499
Backport-of: 5a7b586
  • Loading branch information
Ekaterina Vergizova authored and Dmitry Cherepanov committed Dec 18, 2020
1 parent 85b7908 commit 05ac56a86953facf74c4bd465fd976f0bb55d1e0
Showing 1 changed file with 4 additions and 1 deletion.
@@ -3833,11 +3833,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();
}
}

1 comment on commit 05ac56a

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on 05ac56a Dec 18, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.