comparison src/share/vm/memory/genRemSet.cpp @ 14306:284953caf7aa

8031776: Remove the unnecessary enum GenRemSet::Name Reviewed-by: stefank, tschatzl, jwilhelm
author ehelin
date Mon, 20 Jan 2014 17:15:55 +0100
parents de6a9e811145
children 4ca6dc0799b6
comparison
equal deleted inserted replaced
14305:c685ef164975 14306:284953caf7aa
29 29
30 // This kind of "BarrierSet" allows a "CollectedHeap" to detect and 30 // This kind of "BarrierSet" allows a "CollectedHeap" to detect and
31 // enumerate ref fields that have been modified (since the last 31 // enumerate ref fields that have been modified (since the last
32 // enumeration.) 32 // enumeration.)
33 33
34 uintx GenRemSet::max_alignment_constraint(Name nm) { 34 uintx GenRemSet::max_alignment_constraint() {
35 assert(nm == GenRemSet::CardTable, "Unrecognized GenRemSet type.");
36 return CardTableRS::ct_max_alignment_constraint(); 35 return CardTableRS::ct_max_alignment_constraint();
37 } 36 }
38 37
39 class HasAccumulatedModifiedOopsClosure : public KlassClosure { 38 class HasAccumulatedModifiedOopsClosure : public KlassClosure {
40 bool _found; 39 bool _found;