hotspot/src/share/vm/memory/cardTableRS.hpp
changeset 9624 c3657c3324ee
parent 9336 413920193f83
child 12118 36458db4ccf5
--- a/hotspot/src/share/vm/memory/cardTableRS.hpp	Fri May 06 09:45:18 2011 +0200
+++ b/hotspot/src/share/vm/memory/cardTableRS.hpp	Tue May 10 00:33:21 2011 -0700
@@ -31,7 +31,6 @@
 
 class Space;
 class OopsInGenClosure;
-class DirtyCardToOopClosure;
 
 // This kind of "GenRemSet" uses a card table both as shared data structure
 // for a mod ref barrier set and for the rem set information.
@@ -167,7 +166,7 @@
 };
 
 class ClearNoncleanCardWrapper: public MemRegionClosure {
-  MemRegionClosure* _dirty_card_closure;
+  DirtyCardToOopClosure* _dirty_card_closure;
   CardTableRS* _ct;
   bool _is_par;
 private:
@@ -179,7 +178,7 @@
   inline bool clear_card_parallel(jbyte* entry);
 
 public:
-  ClearNoncleanCardWrapper(MemRegionClosure* dirty_card_closure, CardTableRS* ct);
+  ClearNoncleanCardWrapper(DirtyCardToOopClosure* dirty_card_closure, CardTableRS* ct);
   void do_MemRegion(MemRegion mr);
 };