comparison src/share/vm/gc_implementation/g1/heapRegionRemSet.cpp @ 12316:190899198332

7195622: CheckUnhandledOops has limited usefulness now Summary: Enable CHECK_UNHANDLED_OOPS in fastdebug builds across all supported platforms. Reviewed-by: coleenp, hseigel, dholmes, stefank, twisti, ihse, rdurbin Contributed-by: lois.foltan@oracle.com
author hseigel
date Thu, 26 Sep 2013 10:25:02 -0400
parents 5888334c9c24
children 28674af341ac
comparison
equal deleted inserted replaced
12315:c1fbf21c7397 12316:190899198332
89 89
90 if (G1TraceHeapRegionRememberedSet) { 90 if (G1TraceHeapRegionRememberedSet) {
91 gclog_or_tty->print_cr(" PRT::Add_reference_work(" PTR_FORMAT "->" PTR_FORMAT").", 91 gclog_or_tty->print_cr(" PRT::Add_reference_work(" PTR_FORMAT "->" PTR_FORMAT").",
92 from, 92 from,
93 UseCompressedOops 93 UseCompressedOops
94 ? oopDesc::load_decode_heap_oop((narrowOop*)from) 94 ? (void *)oopDesc::load_decode_heap_oop((narrowOop*)from)
95 : oopDesc::load_decode_heap_oop((oop*)from)); 95 : (void *)oopDesc::load_decode_heap_oop((oop*)from));
96 } 96 }
97 97
98 HeapRegion* loc_hr = hr(); 98 HeapRegion* loc_hr = hr();
99 // If the test below fails, then this table was reused concurrently 99 // If the test below fails, then this table was reused concurrently
100 // with this operation. This is OK, since the old table was coarsened, 100 // with this operation. This is OK, since the old table was coarsened,
401 401
402 if (G1TraceHeapRegionRememberedSet) { 402 if (G1TraceHeapRegionRememberedSet) {
403 gclog_or_tty->print_cr("ORT::add_reference_work(" PTR_FORMAT "->" PTR_FORMAT ").", 403 gclog_or_tty->print_cr("ORT::add_reference_work(" PTR_FORMAT "->" PTR_FORMAT ").",
404 from, 404 from,
405 UseCompressedOops 405 UseCompressedOops
406 ? oopDesc::load_decode_heap_oop((narrowOop*)from) 406 ? (void *)oopDesc::load_decode_heap_oop((narrowOop*)from)
407 : oopDesc::load_decode_heap_oop((oop*)from)); 407 : (void *)oopDesc::load_decode_heap_oop((oop*)from));
408 } 408 }
409 409
410 int from_card = (int)(uintptr_t(from) >> CardTableModRefBS::card_shift); 410 int from_card = (int)(uintptr_t(from) >> CardTableModRefBS::card_shift);
411 411
412 if (G1TraceHeapRegionRememberedSet) { 412 if (G1TraceHeapRegionRememberedSet) {