< prev index next >
src/share/vm/gc/g1/g1EvacFailure.cpp
Print this page
@@ -163,13 +163,13 @@
_hr->cross_threshold(end_first_obj, end);
#ifdef ASSERT
size_t size_second_obj = ((oop)end_first_obj)->size();
HeapWord* end_of_second_obj = end_first_obj + size_second_obj;
assert(end == end_of_second_obj,
- err_msg("More than two objects were used to fill the area from " PTR_FORMAT " to " PTR_FORMAT ", "
+ "More than two objects were used to fill the area from " PTR_FORMAT " to " PTR_FORMAT ", "
"second objects size " SIZE_FORMAT " ends at " PTR_FORMAT,
- p2i(start), p2i(end), size_second_obj, p2i(end_of_second_obj)));
+ p2i(start), p2i(end), size_second_obj, p2i(end_of_second_obj));
#endif
}
}
_cm->clearRangePrevBitmap(mr);
}
@@ -213,11 +213,11 @@
bool doHeapRegion(HeapRegion *hr) {
bool during_initial_mark = _g1h->collector_state()->during_initial_mark_pause();
bool during_conc_mark = _g1h->collector_state()->mark_in_progress();
- assert(!hr->is_pinned(), err_msg("Unexpected pinned region at index %u", hr->hrm_index()));
+ assert(!hr->is_pinned(), "Unexpected pinned region at index %u", hr->hrm_index());
assert(hr->in_collection_set(), "bad CS");
if (_hrclaimer->claim_region(hr->hrm_index())) {
if (hr->evacuation_failed()) {
hr->note_self_forwarding_removal_start(during_initial_mark,
< prev index next >