diff -r a7c0f60a1294 -r 294e48b4f704 hotspot/src/share/vm/gc/g1/g1ParScanThreadState.inline.hpp --- a/hotspot/src/share/vm/gc/g1/g1ParScanThreadState.inline.hpp Mon Sep 28 15:05:02 2015 +0200 +++ b/hotspot/src/share/vm/gc/g1/g1ParScanThreadState.inline.hpp Tue Sep 29 11:02:08 2015 +0200 @@ -52,7 +52,7 @@ _g1h->set_humongous_is_live(obj); } else { assert(!in_cset_state.is_in_cset_or_humongous(), - err_msg("In_cset_state must be NotInCSet here, but is " CSETSTATE_FORMAT, in_cset_state.value())); + "In_cset_state must be NotInCSet here, but is " CSETSTATE_FORMAT, in_cset_state.value()); } assert(obj != NULL, "Must be"); @@ -82,7 +82,7 @@ // to-space object. int next_index = to_obj_array->length(); assert(0 <= next_index && next_index < length, - err_msg("invariant, next index: %d, length: %d", next_index, length)); + "invariant, next index: %d, length: %d", next_index, length); int start = next_index; int end = length;