hotspot/src/share/vm/memory/genRemSet.hpp
changeset 22548 d54e4339811f
parent 22234 da823d78ad65
child 22551 9bf46d16dcc6
--- a/hotspot/src/share/vm/memory/genRemSet.hpp	Mon Jan 20 11:47:53 2014 +0100
+++ b/hotspot/src/share/vm/memory/genRemSet.hpp	Mon Jan 20 17:15:55 2014 +0100
@@ -53,16 +53,9 @@
   KlassRemSet _klass_rem_set;
 
 public:
-  enum Name {
-    CardTable,
-    Other
-  };
-
   GenRemSet(BarrierSet * bs) : _bs(bs) {}
   GenRemSet() : _bs(NULL) {}
 
-  virtual Name rs_kind() = 0;
-
   // These are for dynamic downcasts.  Unfortunately that it names the
   // possible subtypes (but not that they are subtypes!)  Return NULL if
   // the cast is invalide.
@@ -106,10 +99,9 @@
   // within the heap, this function tells whether they are met.
   virtual bool is_aligned(HeapWord* addr) = 0;
 
-  // If the RS (or BS) imposes an aligment constraint on maximum heap size.
-  // (This must be static, and dispatch on "nm", because it is called
-  // before an RS is created.)
-  static uintx max_alignment_constraint(Name nm);
+  // Returns any alignment constraint that the remembered set imposes upon the
+  // heap.
+  static uintx max_alignment_constraint();
 
   virtual void verify() = 0;