equal
deleted
inserted
replaced
31 _cur_youngergen_card_val(youngergenP1_card), |
31 _cur_youngergen_card_val(youngergenP1_card), |
32 _regions_to_iterate(max_covered_regions - 1) |
32 _regions_to_iterate(max_covered_regions - 1) |
33 { |
33 { |
34 #ifndef SERIALGC |
34 #ifndef SERIALGC |
35 if (UseG1GC) { |
35 if (UseG1GC) { |
36 if (G1RSBarrierUseQueue) { |
|
37 _ct_bs = new G1SATBCardTableLoggingModRefBS(whole_heap, |
36 _ct_bs = new G1SATBCardTableLoggingModRefBS(whole_heap, |
38 max_covered_regions); |
37 max_covered_regions); |
39 } else { |
|
40 _ct_bs = new G1SATBCardTableModRefBS(whole_heap, max_covered_regions); |
|
41 } |
|
42 } else { |
38 } else { |
43 _ct_bs = new CardTableModRefBSForCTRS(whole_heap, max_covered_regions); |
39 _ct_bs = new CardTableModRefBSForCTRS(whole_heap, max_covered_regions); |
44 } |
40 } |
45 #else |
41 #else |
46 _ct_bs = new CardTableModRefBSForCTRS(whole_heap, max_covered_regions); |
42 _ct_bs = new CardTableModRefBSForCTRS(whole_heap, max_covered_regions); |