diff 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
line wrap: on
line diff
--- a/src/share/vm/memory/genRemSet.cpp	Mon Jan 20 11:47:53 2014 +0100
+++ b/src/share/vm/memory/genRemSet.cpp	Mon Jan 20 17:15:55 2014 +0100
@@ -31,8 +31,7 @@
 // enumerate ref fields that have been modified (since the last
 // enumeration.)
 
-uintx GenRemSet::max_alignment_constraint(Name nm) {
-  assert(nm == GenRemSet::CardTable, "Unrecognized GenRemSet type.");
+uintx GenRemSet::max_alignment_constraint() {
   return CardTableRS::ct_max_alignment_constraint();
 }