1.1 --- a/src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp Wed Sep 25 17:47:51 2013 +0200 1.2 +++ b/src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp Thu Sep 26 10:25:02 2013 -0400 1.3 @@ -4615,7 +4615,7 @@ 1.4 assert(!has_partial_array_mask(ref), err_msg("ref=" PTR_FORMAT, ref)); 1.5 oop p = oopDesc::load_decode_heap_oop(ref); 1.6 assert(_g1h->is_in_g1_reserved(p), 1.7 - err_msg("ref=" PTR_FORMAT " p=" PTR_FORMAT, ref, intptr_t(p))); 1.8 + err_msg("ref=" PTR_FORMAT " p=" PTR_FORMAT, ref, (void *)p)); 1.9 return true; 1.10 } 1.11 1.12 @@ -4625,11 +4625,11 @@ 1.13 // Must be in the collection set--it's already been copied. 1.14 oop p = clear_partial_array_mask(ref); 1.15 assert(_g1h->obj_in_cs(p), 1.16 - err_msg("ref=" PTR_FORMAT " p=" PTR_FORMAT, ref, intptr_t(p))); 1.17 + err_msg("ref=" PTR_FORMAT " p=" PTR_FORMAT, ref, (void *)p)); 1.18 } else { 1.19 oop p = oopDesc::load_decode_heap_oop(ref); 1.20 assert(_g1h->is_in_g1_reserved(p), 1.21 - err_msg("ref=" PTR_FORMAT " p=" PTR_FORMAT, ref, intptr_t(p))); 1.22 + err_msg("ref=" PTR_FORMAT " p=" PTR_FORMAT, ref, (void *)p)); 1.23 } 1.24 return true; 1.25 }