equal
deleted
inserted
replaced
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 } |