hotspot/src/share/vm/gc_implementation/g1/heapRegionRemSet.cpp
changeset 20282 7f9cbdf89af2
parent 19339 d247781beec7
child 21563 ccbd86010788
equal deleted inserted replaced
20281:e4d33bd980c4 20282:7f9cbdf89af2
    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) {