comparison src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp @ 4910:caa4652b4414

7129892: G1: explicit marking cycle initiation might fail to initiate a marking cycle Summary: If we try to schedule an initial-mark GC in order to explicit start a conc mark cycle and it gets pre-empted by antoher GC, we should retry the attempt as long as it's appropriate for the GC cause. Reviewed-by: brutisso, johnc
author tonyp
date Tue, 14 Feb 2012 08:21:08 -0500
parents d30fa85f9994
children a9647476d1a4
comparison
equal deleted inserted replaced
4909:95f6641e38e0 4910:caa4652b4414
768 // NULL, then this step is skipped. The "worker_i" 768 // NULL, then this step is skipped. The "worker_i"
769 // param is for use with parallel roots processing, and should be 769 // param is for use with parallel roots processing, and should be
770 // the "i" of the calling parallel worker thread's work(i) function. 770 // the "i" of the calling parallel worker thread's work(i) function.
771 // In the sequential case this param will be ignored. 771 // In the sequential case this param will be ignored.
772 void g1_process_strong_roots(bool collecting_perm_gen, 772 void g1_process_strong_roots(bool collecting_perm_gen,
773 SharedHeap::ScanningOption so, 773 ScanningOption so,
774 OopClosure* scan_non_heap_roots, 774 OopClosure* scan_non_heap_roots,
775 OopsInHeapRegionClosure* scan_rs, 775 OopsInHeapRegionClosure* scan_rs,
776 OopsInGenClosure* scan_perm, 776 OopsInGenClosure* scan_perm,
777 int worker_i); 777 int worker_i);
778 778