< prev index next >

src/share/vm/prims/jvmtiGetLoadedClasses.cpp

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

*** 180,190 **** #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"); } } #endif // Public methods that get called within the scope of the closure --- 180,190 ---- #ifdef ASSERT // For debugging. void check(int limit) { for (int i = 0; i < limit; i += 1) { ! 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 >