src/share/vm/memory/genRemSet.cpp

changeset 5818
ab68fc0101ce
parent 4037
da91efe96a93
child 6198
55fb97c4c58d
     1.1 --- a/src/share/vm/memory/genRemSet.cpp	Wed Oct 02 18:24:58 2013 +0200
     1.2 +++ b/src/share/vm/memory/genRemSet.cpp	Thu Oct 03 13:19:19 2013 +0200
     1.3 @@ -32,13 +32,8 @@
     1.4  // enumeration.)
     1.5  
     1.6  uintx GenRemSet::max_alignment_constraint(Name nm) {
     1.7 -  switch (nm) {
     1.8 -  case GenRemSet::CardTable:
     1.9 -    return CardTableRS::ct_max_alignment_constraint();
    1.10 -  default:
    1.11 -    guarantee(false, "Unrecognized GenRemSet type.");
    1.12 -    return (0); // Make Windows compiler happy
    1.13 -  }
    1.14 +  assert(nm == GenRemSet::CardTable, "Unrecognized GenRemSet type.");
    1.15 +  return CardTableRS::ct_max_alignment_constraint();
    1.16  }
    1.17  
    1.18  class HasAccumulatedModifiedOopsClosure : public KlassClosure {

mercurial