< prev index next >

src/hotspot/share/gc/g1/g1FullGCOopClosures.cpp

Print this page

        

*** 59,77 **** T heap_oop = RawAccess<>::oop_load(p); if (!CompressedOops::is_null(heap_oop)) { _cc++; oop obj = CompressedOops::decode_not_null(heap_oop); bool failed = false; ! if (!_g1h->is_in_closed_subset(obj) || _g1h->is_obj_dead_cond(obj, _verify_option)) { MutexLockerEx x(ParGCRareEvent_lock, Mutex::_no_safepoint_check_flag); LogStreamHandle(Error, gc, verify) yy; if (!_failures) { yy.cr(); yy.print_cr("----------"); } ! if (!_g1h->is_in_closed_subset(obj)) { HeapRegion* from = _g1h->heap_region_containing((HeapWord*)p); yy.print_cr("Field " PTR_FORMAT " of live obj " PTR_FORMAT " in region " HR_FORMAT, p2i(p), p2i(_containing_obj), HR_FORMAT_PARAMS(from)); print_object(&yy, _containing_obj); yy.print_cr("points to obj " PTR_FORMAT " not in the heap", --- 59,77 ---- T heap_oop = RawAccess<>::oop_load(p); if (!CompressedOops::is_null(heap_oop)) { _cc++; oop obj = CompressedOops::decode_not_null(heap_oop); bool failed = false; ! if (!_g1h->is_in(obj) || _g1h->is_obj_dead_cond(obj, _verify_option)) { MutexLockerEx x(ParGCRareEvent_lock, Mutex::_no_safepoint_check_flag); LogStreamHandle(Error, gc, verify) yy; if (!_failures) { yy.cr(); yy.print_cr("----------"); } ! if (!_g1h->is_in(obj)) { HeapRegion* from = _g1h->heap_region_containing((HeapWord*)p); yy.print_cr("Field " PTR_FORMAT " of live obj " PTR_FORMAT " in region " HR_FORMAT, p2i(p), p2i(_containing_obj), HR_FORMAT_PARAMS(from)); print_object(&yy, _containing_obj); yy.print_cr("points to obj " PTR_FORMAT " not in the heap",
< prev index next >