Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/async-profiler/async-profiler
/ current
Method
current
src/vmStructs.cpp:630–632 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
628
}
629
630
VMThread* VMThread::current() {
631
return _tls_index >= 0 ? (VMThread*)pthread_getspecific((pthread_key_t)_tls_index) : NULL;
632
}
633
634
int VMThread::nativeThreadId(JNIEnv* jni, jthread thread) {
635
if (_has_native_thread_id) {
Callers
6
allocate
Method · 0.80
testRandomRead
Method · 0.80
run
Method · 0.80
generate
Method · 0.80
dispatch
Method · 0.80
main
Method · 0.80
Calls
no outgoing calls
Tested by
6
allocate
Method · 0.64
testRandomRead
Method · 0.64
run
Method · 0.64
generate
Method · 0.64
dispatch
Method · 0.64
main
Method · 0.64