< prev index next >

src/share/vm/runtime/handles.cpp

Print this page

        

*** 98,109 **** // is not yet valid, so loosen the assertion while (bottom < top) { // This test can be moved up but for now check every oop. assert((*bottom)->is_oop(), "handle should point to oop"); ! ! f->do_oop(bottom++); } return handles_visited; } // Used for debugging handle allocation. --- 98,111 ---- // is not yet valid, so loosen the assertion while (bottom < top) { // This test can be moved up but for now check every oop. assert((*bottom)->is_oop(), "handle should point to oop"); ! if (Universe::heap()->is_in_reserved_or_null(*bottom)) { ! f->do_oop(bottom); ! } ! bottom++; } return handles_visited; } // Used for debugging handle allocation.
< prev index next >