< prev index next >

src/hotspot/share/trace/tracingExport.hpp

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.

@@ -27,12 +27,12 @@
 
 #include "runtime/thread.hpp"
 
 class TracingExport : AllStatic {
  public:
-  static Thread* get_sampler_thread();
-  static void set_sampler_thread(Thread* thread);
+  static Thread* sampler_thread_acquire();
+  static void set_sampler_thread_with_lock(Thread* thread);
 
  private:
   static Thread* volatile _sampler_thread;
 };
 
< prev index next >