MCPcopy Create free account
hub / github.com/async-profiler/async-profiler / onThreadStart

Method onThreadStart

src/profiler.cpp:133–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

131}
132
133void Profiler::onThreadStart(jvmtiEnv* jvmti, JNIEnv* jni, jthread thread) {
134 if (_thread_filter.enabled()) {
135 _thread_filter.remove(OS::threadId());
136 }
137 updateThreadName(jvmti, jni, thread);
138}
139
140void Profiler::onThreadEnd(jvmtiEnv* jvmti, JNIEnv* jni, jthread thread) {
141 if (_thread_filter.enabled()) {

Callers 1

ThreadStartMethod · 0.45

Calls 2

removeMethod · 0.80
enabledMethod · 0.45

Tested by

no test coverage detected