< prev index next >

src/hotspot/share/gc/cms/cmsOopClosures.inline.hpp

Print this page

        

@@ -38,14 +38,12 @@
   do_cld_nv(cld);
 }
 inline void MetadataAwareOopsInGenClosure::do_klass(Klass* k) { do_klass_nv(k); }
 
 inline void MetadataAwareOopsInGenClosure::do_cld_nv(ClassLoaderData* cld) {
-  assert(_klass_closure._oop_closure == this, "Must be");
-
   bool claim = true;  // Must claim the class loader data before processing.
-  cld->oops_do(_klass_closure._oop_closure, &_klass_closure, claim);
+  cld->oops_do(this, claim);
 }
 
 // Decode the oop and call do_oop on it.
 #define DO_OOP_WORK_IMPL(cls)                                 \
   template <class T> void cls::do_oop_work(T* p) {            \
< prev index next >