Skip to content
This repository has been archived by the owner on Feb 2, 2023. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
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 05ac56a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/hotspot/share/prims/jni.cpp
Expand Up @@ -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();
}
}
Expand Down

1 comment on commit 05ac56a

@openjdk-notifier
Copy link

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.