< prev index next >

src/share/vm/gc_implementation/g1/heapRegion.cpp

Print this page
rev 7793 : 8073315: Enable gcc -Wtype-limits and fix upcoming issues.

*** 323,335 **** } void HeapRegion::note_self_forwarding_removal_end(bool during_initial_mark, bool during_conc_mark, size_t marked_bytes) { ! assert(0 <= marked_bytes && marked_bytes <= used(), ! err_msg("marked: "SIZE_FORMAT" used: "SIZE_FORMAT, ! marked_bytes, used())); _prev_top_at_mark_start = top(); _prev_marked_bytes = marked_bytes; } HeapWord* --- 323,334 ---- } void HeapRegion::note_self_forwarding_removal_end(bool during_initial_mark, bool during_conc_mark, size_t marked_bytes) { ! assert(marked_bytes <= used(), ! err_msg("marked: "SIZE_FORMAT" used: "SIZE_FORMAT, marked_bytes, used())); _prev_top_at_mark_start = top(); _prev_marked_bytes = marked_bytes; } HeapWord*
< prev index next >