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

changeset 5784
190899198332
parent 5548
5888334c9c24
child 6087
28674af341ac
     1.1 --- a/src/share/vm/gc_implementation/g1/heapRegionRemSet.cpp	Wed Sep 25 17:47:51 2013 +0200
     1.2 +++ b/src/share/vm/gc_implementation/g1/heapRegionRemSet.cpp	Thu Sep 26 10:25:02 2013 -0400
     1.3 @@ -91,8 +91,8 @@
     1.4        gclog_or_tty->print_cr("    PRT::Add_reference_work(" PTR_FORMAT "->" PTR_FORMAT").",
     1.5                               from,
     1.6                               UseCompressedOops
     1.7 -                             ? oopDesc::load_decode_heap_oop((narrowOop*)from)
     1.8 -                             : oopDesc::load_decode_heap_oop((oop*)from));
     1.9 +                             ? (void *)oopDesc::load_decode_heap_oop((narrowOop*)from)
    1.10 +                             : (void *)oopDesc::load_decode_heap_oop((oop*)from));
    1.11      }
    1.12  
    1.13      HeapRegion* loc_hr = hr();
    1.14 @@ -403,8 +403,8 @@
    1.15      gclog_or_tty->print_cr("ORT::add_reference_work(" PTR_FORMAT "->" PTR_FORMAT ").",
    1.16                                                      from,
    1.17                                                      UseCompressedOops
    1.18 -                                                    ? oopDesc::load_decode_heap_oop((narrowOop*)from)
    1.19 -                                                    : oopDesc::load_decode_heap_oop((oop*)from));
    1.20 +                                                    ? (void *)oopDesc::load_decode_heap_oop((narrowOop*)from)
    1.21 +                                                    : (void *)oopDesc::load_decode_heap_oop((oop*)from));
    1.22    }
    1.23  
    1.24    int from_card = (int)(uintptr_t(from) >> CardTableModRefBS::card_shift);

mercurial