< prev index next >

src/hotspot/share/gc/shenandoah/shenandoahHeap.inline.hpp

Print this page
rev 50094 : [mq]: gclab.patch
rev 50095 : [mq]: allocations-rt.patch

*** 347,357 **** // have to explicitly overwrite the copy with the filler object. With that overwrite, // we have to keep the fwdptr initialized and pointing to our (stale) copy. if (alloc_from_gclab) { ShenandoahThreadLocalData::gclab(thread)->undo_allocation(filler, size_with_fwdptr); } else { ! fill_with_object(copy, size_no_fwdptr); } log_develop_trace(gc, compaction)("Copy object: " PTR_FORMAT " -> " PTR_FORMAT " failed, use other: " PTR_FORMAT, p2i(p), p2i(copy), p2i(result)); return result; } --- 347,357 ---- // have to explicitly overwrite the copy with the filler object. With that overwrite, // we have to keep the fwdptr initialized and pointing to our (stale) copy. if (alloc_from_gclab) { ShenandoahThreadLocalData::gclab(thread)->undo_allocation(filler, size_with_fwdptr); } else { ! fill_with_object(filler, size_with_fwdptr); } log_develop_trace(gc, compaction)("Copy object: " PTR_FORMAT " -> " PTR_FORMAT " failed, use other: " PTR_FORMAT, p2i(p), p2i(copy), p2i(result)); return result; }
< prev index next >