diff -r a7c0f60a1294 -r 294e48b4f704 hotspot/src/share/vm/gc/g1/satbQueue.cpp --- a/hotspot/src/share/vm/gc/g1/satbQueue.cpp Mon Sep 28 15:05:02 2015 +0200 +++ b/hotspot/src/share/vm/gc/g1/satbQueue.cpp Tue Sep 29 11:02:08 2015 +0200 @@ -77,16 +77,16 @@ inline bool requires_marking(const void* entry, G1CollectedHeap* heap) { // Includes rejection of NULL pointers. assert(heap->is_in_reserved(entry), - err_msg("Non-heap pointer in SATB buffer: " PTR_FORMAT, p2i(entry))); + "Non-heap pointer in SATB buffer: " PTR_FORMAT, p2i(entry)); HeapRegion* region = heap->heap_region_containing_raw(entry); - assert(region != NULL, err_msg("No region for " PTR_FORMAT, p2i(entry))); + assert(region != NULL, "No region for " PTR_FORMAT, p2i(entry)); if (entry >= region->next_top_at_mark_start()) { return false; } assert(((oop)entry)->is_oop(true /* ignore mark word */), - err_msg("Invalid oop in SATB buffer: " PTR_FORMAT, p2i(entry))); + "Invalid oop in SATB buffer: " PTR_FORMAT, p2i(entry)); return true; }