comparison src/share/vm/gc_implementation/g1/g1_specialized_oop_closures.hpp @ 3886:eeae91c9baba

7080389: G1: refactor marking code in evacuation pause copy closures Summary: Refactor code marking code in the evacuation pause copy closures so that an evacuated object is only marked by the thread that successfully copies it. Reviewed-by: stefank, brutisso, tonyp
author johnc
date Mon, 29 Aug 2011 10:13:06 -0700
parents 842b840e67db
children b4ebad3520bb
comparison
equal deleted inserted replaced
3885:3cd0157e1d4d 3886:eeae91c9baba
34 enum G1Barrier { 34 enum G1Barrier {
35 G1BarrierNone, G1BarrierRS, G1BarrierEvac 35 G1BarrierNone, G1BarrierRS, G1BarrierEvac
36 }; 36 };
37 37
38 template<bool do_gen_barrier, G1Barrier barrier, 38 template<bool do_gen_barrier, G1Barrier barrier,
39 bool do_mark_forwardee> 39 bool do_mark_object>
40 class G1ParCopyClosure; 40 class G1ParCopyClosure;
41 class G1ParScanClosure; 41 class G1ParScanClosure;
42 class G1ParPushHeapRSClosure; 42 class G1ParPushHeapRSClosure;
43 43
44 typedef G1ParCopyClosure<false, G1BarrierEvac, false> G1ParScanHeapEvacClosure; 44 typedef G1ParCopyClosure<false, G1BarrierEvac, false> G1ParScanHeapEvacClosure;