@@ -341,11 +341,11 @@ // First check if the start is an allocated block and only // then if it is a valid object. oop o = oop(start); assert(!Universe::is_fully_initialized() || _sp->is_free_block(start) || - o->is_oop_or_null(), "Bad object was found"); + oopDesc::is_oop_or_null(o), "Bad object was found"); next_index++; last_p = p; last_start = start; last_o = o; }