< prev index next >
src/share/vm/gc/g1/g1RemSet.inline.hpp
Print this page
*** 37,47 ****
return;
}
#ifdef ASSERT
// can't do because of races
! // assert(obj == NULL || obj->is_oop(), "expected an oop");
assert(check_obj_alignment(obj), "not oop aligned");
assert(_g1->is_in_reserved(obj), "must be in heap");
#endif // ASSERT
assert(from->is_in_reserved(p) || from->is_starts_humongous(), "p is not in from");
--- 37,47 ----
return;
}
#ifdef ASSERT
// can't do because of races
! // assert(obj == NULL || oopDesc::is_oop(obj), "expected an oop");
assert(check_obj_alignment(obj), "not oop aligned");
assert(_g1->is_in_reserved(obj), "must be in heap");
#endif // ASSERT
assert(from->is_in_reserved(p) || from->is_starts_humongous(), "p is not in from");
< prev index next >