diff src/share/vm/gc_implementation/g1/satbQueue.hpp @ 17747:f99e331f6ef6

8029162: G1: Shared SATB queue never enabled Reviewed-by: brutisso, mgerdin, tschatzl
author pliden
date Fri, 10 Jan 2014 09:54:25 +0100
parents 2ace1c4ee8da
children 4ca6dc0799b6 8847586c9037
line wrap: on
line diff
--- a/src/share/vm/gc_implementation/g1/satbQueue.hpp	Fri Jan 10 09:53:53 2014 +0100
+++ b/src/share/vm/gc_implementation/g1/satbQueue.hpp	Fri Jan 10 09:54:25 2014 +0100
@@ -87,7 +87,8 @@
   bool apply_closure_to_completed_buffer_work(bool par, int worker);
 
 #ifdef ASSERT
-  void dump_active_values(JavaThread* first, bool expected_active);
+  void dump_active_states(bool expected_active);
+  void verify_active_states(bool expected_active);
 #endif // ASSERT
 
 public:
@@ -99,11 +100,11 @@
 
   static void handle_zero_index_for_thread(JavaThread* t);
 
-  // Apply "set_active(b)" to all Java threads' SATB queues. It should be
+  // Apply "set_active(active)" to all SATB queues in the set. It should be
   // called only with the world stopped. The method will assert that the
   // SATB queues of all threads it visits, as well as the SATB queue
   // set itself, has an active value same as expected_active.
-  void set_active_all_threads(bool b, bool expected_active);
+  void set_active_all_threads(bool active, bool expected_active);
 
   // Filter all the currently-active SATB buffers.
   void filter_thread_buffers();