equal
deleted
inserted
replaced
149 bool is_g1_policy() { return false; } |
149 bool is_g1_policy() { return false; } |
150 #endif // INCLUDE_ALL_GCS |
150 #endif // INCLUDE_ALL_GCS |
151 |
151 |
152 |
152 |
153 virtual BarrierSet::Name barrier_set_name() = 0; |
153 virtual BarrierSet::Name barrier_set_name() = 0; |
154 virtual GenRemSet::Name rem_set_name() = 0; |
|
155 |
154 |
156 // Create the remembered set (to cover the given reserved region, |
155 // Create the remembered set (to cover the given reserved region, |
157 // allowing breaking up into at most "max_covered_regions"). |
156 // allowing breaking up into at most "max_covered_regions"). |
158 virtual GenRemSet* create_rem_set(MemRegion reserved, |
157 virtual GenRemSet* create_rem_set(MemRegion reserved, |
159 int max_covered_regions); |
158 int max_covered_regions); |
301 // Inherited methods |
300 // Inherited methods |
302 TwoGenerationCollectorPolicy* as_two_generation_policy() { return this; } |
301 TwoGenerationCollectorPolicy* as_two_generation_policy() { return this; } |
303 |
302 |
304 int number_of_generations() { return 2; } |
303 int number_of_generations() { return 2; } |
305 BarrierSet::Name barrier_set_name() { return BarrierSet::CardTableModRef; } |
304 BarrierSet::Name barrier_set_name() { return BarrierSet::CardTableModRef; } |
306 GenRemSet::Name rem_set_name() { return GenRemSet::CardTable; } |
|
307 |
305 |
308 virtual CollectorPolicy::Name kind() { |
306 virtual CollectorPolicy::Name kind() { |
309 return CollectorPolicy::TwoGenerationCollectorPolicyKind; |
307 return CollectorPolicy::TwoGenerationCollectorPolicyKind; |
310 } |
308 } |
311 |
309 |