1.1 --- a/src/share/vm/gc_implementation/g1/g1CollectedHeap.inline.hpp Tue Feb 23 18:58:36 2016 -0500 1.2 +++ b/src/share/vm/gc_implementation/g1/g1CollectedHeap.inline.hpp Thu Jun 14 09:15:08 2018 -0700 1.3 @@ -81,7 +81,7 @@ 1.4 1.5 inline uint G1CollectedHeap::addr_to_region(HeapWord* addr) const { 1.6 assert(is_in_reserved(addr), 1.7 - err_msg("Cannot calculate region index for address "PTR_FORMAT" that is outside of the heap ["PTR_FORMAT", "PTR_FORMAT")", 1.8 + err_msg("Cannot calculate region index for address " PTR_FORMAT " that is outside of the heap [" PTR_FORMAT ", " PTR_FORMAT ")", 1.9 p2i(addr), p2i(_reserved.start()), p2i(_reserved.end()))); 1.10 return (uint)(pointer_delta(addr, _reserved.start(), sizeof(uint8_t)) >> HeapRegion::LogOfHRGrainBytes); 1.11 } 1.12 @@ -94,7 +94,7 @@ 1.13 inline HeapRegion* G1CollectedHeap::heap_region_containing_raw(const T addr) const { 1.14 assert(addr != NULL, "invariant"); 1.15 assert(is_in_g1_reserved((const void*) addr), 1.16 - err_msg("Address "PTR_FORMAT" is outside of the heap ranging from ["PTR_FORMAT" to "PTR_FORMAT")", 1.17 + err_msg("Address " PTR_FORMAT " is outside of the heap ranging from [" PTR_FORMAT " to " PTR_FORMAT ")", 1.18 p2i((void*)addr), p2i(g1_reserved().start()), p2i(g1_reserved().end()))); 1.19 return _hrm.addr_to_region((HeapWord*) addr); 1.20 }