< prev index next >

src/share/vm/gc_implementation/g1/satbQueue.hpp

Print this page
rev 8148 : [mq]: split

*** 73,84 **** static void print(const char* name, void** buf, size_t index, size_t sz); #endif // PRODUCT }; class SATBMarkQueueSet: public PtrQueueSet { - ObjectClosure** _closures; // One per ParGCThread. - ObjPtrQueue _shared_satb_queue; #ifdef ASSERT void dump_active_states(bool expected_active); void verify_active_states(bool expected_active); --- 73,82 ----
*** 100,119 **** void set_active_all_threads(bool active, bool expected_active); // Filter all the currently-active SATB buffers. void filter_thread_buffers(); - // Register closure for the given worker thread. The "apply_closure_to_completed_buffer" - // method will apply this closure to a completed buffer, and "iterate_closure_all_threads" - // applies it to partially-filled buffers (the latter should only be done - // with the world stopped). - void set_closure(uint worker, ObjectClosure* closure); - // If there exists some completed buffer, pop it, then apply the ! // registered closure to all its elements, and return true. If no // completed buffers exist, return false. ! bool apply_closure_to_completed_buffer(uint worker); // Apply the given closure on enqueued and currently-active buffers // respectively. Both methods are read-only, i.e., they do not // modify any of the buffers. void iterate_completed_buffers_read_only(ObjectClosure* cl); --- 98,111 ---- void set_active_all_threads(bool active, bool expected_active); // Filter all the currently-active SATB buffers. void filter_thread_buffers(); // If there exists some completed buffer, pop it, then apply the ! // closure to all its elements, and return true. If no // completed buffers exist, return false. ! bool apply_closure_to_completed_buffer(ObjectClosure* closure); // Apply the given closure on enqueued and currently-active buffers // respectively. Both methods are read-only, i.e., they do not // modify any of the buffers. void iterate_completed_buffers_read_only(ObjectClosure* cl);
< prev index next >