1.1 --- a/src/share/vm/gc_implementation/g1/satbQueue.hpp Tue Jul 01 09:03:55 2014 +0200 1.2 +++ b/src/share/vm/gc_implementation/g1/satbQueue.hpp Mon Jul 07 10:12:40 2014 +0200 1.3 @@ -33,7 +33,9 @@ 1.4 1.5 // A ptrQueue whose elements are "oops", pointers to object heads. 1.6 class ObjPtrQueue: public PtrQueue { 1.7 + friend class Threads; 1.8 friend class SATBMarkQueueSet; 1.9 + friend class G1RemarkThreadsClosure; 1.10 1.11 private: 1.12 // Filter out unwanted entries from the buffer. 1.13 @@ -119,13 +121,6 @@ 1.14 // closures, one for each parallel GC thread. 1.15 void set_par_closure(int i, ObjectClosure* closure); 1.16 1.17 - // Apply the registered closure to all entries on each 1.18 - // currently-active buffer and then empty the buffer. It should only 1.19 - // be called serially and at a safepoint. 1.20 - void iterate_closure_all_threads(); 1.21 - // Parallel version of the above. 1.22 - void par_iterate_closure_all_threads(uint worker); 1.23 - 1.24 // If there exists some completed buffer, pop it, then apply the 1.25 // registered closure to all its elements, and return true. If no 1.26 // completed buffers exist, return false.