--- 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;
-}