src/share/vm/gc_implementation/g1/heapRegionRemSet.cpp

changeset 5784
190899198332
parent 5548
5888334c9c24
child 6087
28674af341ac
equal deleted inserted replaced
5783:c1fbf21c7397 5784: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) {

mercurial