src/hotspot/share/jfr/support/jfrThreadLocal.cpp
branchJEP-349-branch
changeset 58121 6f8f18ac1d54
parent 58100 0e549560be5e
child 58155 1fe292a94df1
equal deleted inserted replaced
58120:630261dd77f9 58121:6f8f18ac1d54
   124   }
   124   }
   125   if (tl->has_java_buffer()) {
   125   if (tl->has_java_buffer()) {
   126     JfrStorage::release_thread_local(tl->java_buffer(), t);
   126     JfrStorage::release_thread_local(tl->java_buffer(), t);
   127   }
   127   }
   128   FREE_C_HEAP_ARRAY(JfrStackFrame, tl->_stackframes);
   128   FREE_C_HEAP_ARRAY(JfrStackFrame, tl->_stackframes);
   129   }
       
   130 }
   129 }
   131 
   130 
   132 void JfrThreadLocal::on_exit(Thread* t) {
   131 void JfrThreadLocal::on_exit(Thread* t) {
   133   assert(t != NULL, "invariant");
   132   assert(t != NULL, "invariant");
   134   JfrThreadLocal * const tl = t->jfr_thread_local();
   133   JfrThreadLocal * const tl = t->jfr_thread_local();