< prev index next >
src/hotspot/share/oops/oop.cpp
Print this page
*** 142,152 ****
}
if (obj->mark() != NULL) {
return true;
}
return !SafepointSynchronize::is_at_safepoint()
! || (obj->klass()->is_value() && !Universe::heap()->is_in_reserved(obj)) ;
}
// used only for asserts and guarantees
bool oopDesc::is_oop_or_null(oop obj, bool ignore_mark_word) {
return obj == NULL ? true : is_oop(obj, ignore_mark_word);
--- 142,152 ----
}
if (obj->mark() != NULL) {
return true;
}
return !SafepointSynchronize::is_at_safepoint()
! || (obj->klass()->is_value() && VTBuffer::is_in_vt_buffer(obj)) ;
}
// used only for asserts and guarantees
bool oopDesc::is_oop_or_null(oop obj, bool ignore_mark_word) {
return obj == NULL ? true : is_oop(obj, ignore_mark_word);
< prev index next >