| 138 | } |
| 139 | |
| 140 | void Profiler::onThreadEnd(jvmtiEnv* jvmti, JNIEnv* jni, jthread thread) { |
| 141 | if (_thread_filter.enabled()) { |
| 142 | _thread_filter.remove(OS::threadId()); |
| 143 | } |
| 144 | updateThreadName(jvmti, jni, thread); |
| 145 | } |
| 146 | |
| 147 | void Profiler::onGarbageCollectionFinish() { |
| 148 | // Called during GC pause, do not use JNI |