mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-19 18:44:38 +02:00
Merge
This commit is contained in:
commit
6b8bf62a75
22 changed files with 425 additions and 248 deletions
|
@ -95,9 +95,11 @@
|
|||
#if INCLUDE_CDS
|
||||
#include "classfile/systemDictionaryShared.hpp"
|
||||
#endif
|
||||
#if INCLUDE_JFR
|
||||
#include "jfr/jfr.hpp"
|
||||
#endif
|
||||
|
||||
#include <errno.h>
|
||||
#include <jfr/recorder/jfrRecorder.hpp>
|
||||
|
||||
/*
|
||||
NOTE about use of any ctor or function call that can trigger a safepoint/GC:
|
||||
|
@ -3071,7 +3073,7 @@ JVM_ENTRY(void, JVM_StartThread(JNIEnv* env, jobject jthread))
|
|||
}
|
||||
|
||||
#if INCLUDE_JFR
|
||||
if (JfrRecorder::is_recording() && EventThreadStart::is_enabled() &&
|
||||
if (Jfr::is_recording() && EventThreadStart::is_enabled() &&
|
||||
EventThreadStart::is_stacktrace_enabled()) {
|
||||
JfrThreadLocal* tl = native_thread->jfr_thread_local();
|
||||
// skip Thread.start() and Thread.start0()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue