< prev index next >

src/share/vm/prims/jvmtiGetLoadedClasses.cpp

Print this page
rev 12310 : [mq]: gcinterface.patch

@@ -180,11 +180,11 @@
 
 #ifdef ASSERT
   // For debugging.
   void check(int limit) {
     for (int i = 0; i < limit; i += 1) {
-      assert(Universe::heap()->is_in(get_element(i)()), "check fails");
+      assert(GC::gc()->heap()->is_in(get_element(i)()), "check fails");
     }
   }
 #endif
 
   // Public methods that get called within the scope of the closure
< prev index next >