< prev index next >

src/hotspot/share/runtime/thread.cpp

Print this page
rev 49501 : 8200374: Add ThreadsSMRSupport::verify_hazard_pointer_scanned() to verify threads_do().
rev 49502 : Add missing NULL check; use proper lock-free get/set with TracingExport::_sampler_thread.
rev 49503 : Rename TracingExport::get_sampler_thread() to TracingExport::sampler_thread_acquire() and TracingExport::set_sampler_thread() to TracingExport::set_sampler_thread_with_lock(); set_sampler_thread_with_lock() uses Threads_lock toavoid conflicts with Thread-SMR scans.

@@ -3452,11 +3452,11 @@
   if (wt != NULL) {
     tc->do_thread(wt);
   }
 
 #if INCLUDE_TRACE
-  Thread* sampler_thread = TracingExport::get_sampler_thread();
+  Thread* sampler_thread = TracingExport::sampler_thread_acquire();
   if (sampler_thread != NULL) {
     tc->do_thread(sampler_thread);
   }
 #endif
 
< prev index next >