void bm_Term() { #ifdef DYNA_OPROF if (oprofHandle) op_close_agent(oprofHandle); oprofHandle=0; #endif }
void JitBlockCache::Shutdown() { delete [] blocks_; blocks_ = 0; num_blocks_ = 0; #if defined USE_OPROFILE && USE_OPROFILE op_close_agent(agent); #endif #ifdef USE_VTUNE iJIT_NotifyEvent(iJVM_EVENT_TYPE_SHUTDOWN, NULL); #endif }
void Shutdown() { #if defined USE_OPROFILE && USE_OPROFILE op_close_agent(s_agent); s_agent = nullptr; #endif #ifdef USE_VTUNE iJIT_NotifyEvent(iJVM_EVENT_TYPE_SHUTDOWN, nullptr); #endif if (s_perf_map_file.IsOpen()) s_perf_map_file.Close(); }
virtual ~OprofileJITEventListener() { op_close_agent(agent); }