src/hotspot/share/jfr/periodic/sampling/jfrThreadSampler.cpp
changeset 52569 1a534c7926cc
parent 52460 f1bb77833b59
child 53096 58154bf80f90
equal deleted inserted replaced
52568:40474b7105f4 52569:1a534c7926cc
   616 }
   616 }
   617 
   617 
   618 void JfrThreadSampling::on_javathread_suspend(JavaThread* thread) {
   618 void JfrThreadSampling::on_javathread_suspend(JavaThread* thread) {
   619   JfrThreadSampler::on_javathread_suspend(thread);
   619   JfrThreadSampler::on_javathread_suspend(thread);
   620 }
   620 }
   621 
       
   622 Thread* JfrThreadSampling::sampler_thread() {
       
   623   if (_instance == NULL) {
       
   624     return NULL;
       
   625   }
       
   626   return _instance->_sampler != NULL ? _instance->_sampler->_sampler_thread : NULL;
       
   627 }