--- old/src/share/vm/gc/shenandoah/shenandoahConcurrentMark.inline.hpp 2017-10-09 11:48:32.619329967 +0200 +++ new/src/share/vm/gc/shenandoah/shenandoahConcurrentMark.inline.hpp 2017-10-09 11:48:32.516329714 +0200 @@ -41,7 +41,7 @@ || oopDesc::bs()->is_safe(obj), "we don't want to mark objects in from-space"); assert(_heap->is_in(obj), "referenced objects must be in the heap. No?"); - assert(_heap->is_marked_next(obj), "only marked objects on task queue"); + assert(_heap->is_marked(obj), "only marked objects on task queue"); if (task->is_not_chunked()) { if (COUNT_LIVENESS) count_liveness(live_data, obj); @@ -240,14 +240,14 @@ assert(heap->is_in(obj), "We shouldn't be calling this on objects not in the heap: " PTR_FORMAT, p2i(obj)); assert(oopDesc::bs()->is_safe(obj), "Only mark objects in from-space"); - if (heap->mark_next(obj)) { + if (heap->mark(obj)) { log_develop_trace(gc, marking)("Marked obj: " PTR_FORMAT, p2i((HeapWord*) obj)); bool pushed = q->push(ShenandoahMarkTask(obj)); assert(pushed, "overflow queue should always succeed pushing"); } else { log_develop_trace(gc, marking)("Failed to mark obj (already marked): " PTR_FORMAT, p2i((HeapWord*) obj)); - assert(heap->is_marked_next(obj), "Consistency: should be marked."); + assert(heap->is_marked(obj), "Consistency: should be marked."); } } }