< prev index next >

src/hotspot/share/jfr/periodic/sampling/jfrThreadSampler.cpp

Print this page

        

@@ -357,11 +357,11 @@
   if (thread->is_hidden_from_external_view() || thread->in_deopt_handler()) {
     return false;
   }
 
   bool ret = false;
-  thread->set_trace_flag();  // Provides StoreLoad, needed to keep read of thread state from floating up.
+  thread->set_trace_flag();
   if (JAVA_SAMPLE == type) {
     if (thread_state_in_java(thread)) {
       ret = sample_thread_in_java(thread, frames, max_frames);
     }
   } else {
< prev index next >