src/hotspot/share/jfr/recorder/service/jfrRecorderThread.cpp
branchJEP-349-branch
changeset 57987 23e3cd901cb6
parent 57360 5d043a159d5c
child 58567 e77a97d0edbb
equal deleted inserted replaced
57985:be121cbf3284 57987:23e3cd901cb6
    96 
    96 
    97   JfrJavaSupport::call_static(&create_thread_args, CHECK_false);
    97   JfrJavaSupport::call_static(&create_thread_args, CHECK_false);
    98   instanceHandle h_thread_oop(THREAD, (instanceOop)result.get_jobject());
    98   instanceHandle h_thread_oop(THREAD, (instanceOop)result.get_jobject());
    99   assert(h_thread_oop.not_null(), "invariant");
    99   assert(h_thread_oop.not_null(), "invariant");
   100   // attempt thread start
   100   // attempt thread start
   101   Thread* const t = start_thread(h_thread_oop, recorderthread_entry, THREAD);
   101   const Thread* const t = start_thread(h_thread_oop, recorderthread_entry,THREAD);
   102   if (!HAS_PENDING_EXCEPTION) {
   102   if (!HAS_PENDING_EXCEPTION) {
   103     Jfr::exclude_thread(t);
   103     Jfr::exclude_thread(t);
   104     cp_manager->register_service_thread(t);
   104     cp_manager->register_service_thread(t);
   105     return true;
   105     return true;
   106   }
   106   }