src/hotspot/share/jfr/periodic/sampling/jfrThreadSampler.cpp
changeset 52569 1a534c7926cc
parent 52460 f1bb77833b59
child 53096 58154bf80f90
--- a/src/hotspot/share/jfr/periodic/sampling/jfrThreadSampler.cpp	Thu Nov 15 10:59:56 2018 +0100
+++ b/src/hotspot/share/jfr/periodic/sampling/jfrThreadSampler.cpp	Thu Nov 15 11:10:04 2018 +0100
@@ -618,10 +618,3 @@
 void JfrThreadSampling::on_javathread_suspend(JavaThread* thread) {
   JfrThreadSampler::on_javathread_suspend(thread);
 }
-
-Thread* JfrThreadSampling::sampler_thread() {
-  if (_instance == NULL) {
-    return NULL;
-  }
-  return _instance->_sampler != NULL ? _instance->_sampler->_sampler_thread : NULL;
-}