1.1 --- a/src/share/vm/gc_implementation/g1/satbQueue.hpp Fri Jan 10 09:53:53 2014 +0100 1.2 +++ b/src/share/vm/gc_implementation/g1/satbQueue.hpp Fri Jan 10 09:54:25 2014 +0100 1.3 @@ -87,7 +87,8 @@ 1.4 bool apply_closure_to_completed_buffer_work(bool par, int worker); 1.5 1.6 #ifdef ASSERT 1.7 - void dump_active_values(JavaThread* first, bool expected_active); 1.8 + void dump_active_states(bool expected_active); 1.9 + void verify_active_states(bool expected_active); 1.10 #endif // ASSERT 1.11 1.12 public: 1.13 @@ -99,11 +100,11 @@ 1.14 1.15 static void handle_zero_index_for_thread(JavaThread* t); 1.16 1.17 - // Apply "set_active(b)" to all Java threads' SATB queues. It should be 1.18 + // Apply "set_active(active)" to all SATB queues in the set. It should be 1.19 // called only with the world stopped. The method will assert that the 1.20 // SATB queues of all threads it visits, as well as the SATB queue 1.21 // set itself, has an active value same as expected_active. 1.22 - void set_active_all_threads(bool b, bool expected_active); 1.23 + void set_active_all_threads(bool active, bool expected_active); 1.24 1.25 // Filter all the currently-active SATB buffers. 1.26 void filter_thread_buffers();