< prev index next >

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

Print this page
rev 7471 : 8060025: Object copy time regressions after JDK-8031323 and JDK-8057536
Summary: Evaluate and improve object copy time by micro-optimizations and splitting out slow and fast paths aggressively.
Reviewed-by:
Contributed-by: Tony Printezis <tprintezis@twitter.com>, Thomas Schatzl <thomas.schatzl@oracle.com>
rev 7472 : [mq]: 8060025-mikael-review1
rev 7473 : imported patch mikael-refactor-cset-state
rev 7474 : [mq]: kim-review

*** 2761,2771 **** case VerifyOption_G1UseMarkWord: return false; default: ShouldNotReachHere(); } ! return false; // Keep some compilers happy } HeapWord* G1CollectedHeap::top_at_mark_start(HeapRegion* hr, VerifyOption vo) { switch (vo) { case VerifyOption_G1UsePrevMarking: return hr->prev_top_at_mark_start(); --- 2761,2771 ---- case VerifyOption_G1UseMarkWord: return false; default: ShouldNotReachHere(); } ! return false; // keep some compilers happy } HeapWord* G1CollectedHeap::top_at_mark_start(HeapRegion* hr, VerifyOption vo) { switch (vo) { case VerifyOption_G1UsePrevMarking: return hr->prev_top_at_mark_start();
< prev index next >