src/hotspot/share/jfr/jfr.cpp
branchJEP-349-branch
changeset 58567 e77a97d0edbb
parent 58259 b6efcf2217f1
equal deleted inserted replaced
58540:43229acd75ea 58567:e77a97d0edbb
    69 
    69 
    70 void Jfr::on_thread_exit(Thread* t) {
    70 void Jfr::on_thread_exit(Thread* t) {
    71   JfrThreadLocal::on_exit(t);
    71   JfrThreadLocal::on_exit(t);
    72 }
    72 }
    73 
    73 
    74 void Jfr::exclude_thread(const Thread* t) {
    74 void Jfr::exclude_thread(Thread* t) {
    75   JfrThreadLocal::exclude(t);
    75   JfrThreadLocal::exclude(t);
    76 }
    76 }
    77 
    77 
    78 void Jfr::include_thread(const Thread* t) {
    78 void Jfr::include_thread(Thread* t) {
    79   JfrThreadLocal::include(t);
    79   JfrThreadLocal::include(t);
    80 }
    80 }
    81 
    81 
    82 bool Jfr::is_excluded(const Thread* t) {
    82 bool Jfr::is_excluded(Thread* t) {
    83   return t != NULL && t->jfr_thread_local()->is_excluded();
    83   return t != NULL && t->jfr_thread_local()->is_excluded();
    84 }
    84 }
    85 
    85 
    86 void Jfr::on_java_thread_dismantle(JavaThread* jt) {
    86 void Jfr::on_java_thread_dismantle(JavaThread* jt) {
    87   if (JfrRecorder::is_recording()) {
    87   if (JfrRecorder::is_recording()) {