< prev index next >
src/hotspot/share/gc/g1/g1Allocator.cpp
Print this page
rev 55404 : 8226197: Reducing G1?s CPU cost with simplified write post-barrier and disabling concurrent refinement
Summary: A prototype to add a mode for G1 to use a simplified write post-barrier. Guarded by new flag G1FastWriteBarrier.
*** 202,212 ****
actual_word_size);
if (result == NULL) {
set_survivor_full();
}
}
! if (result != NULL) {
_g1h->dirty_young_block(result, *actual_word_size);
}
return result;
}
--- 202,212 ----
actual_word_size);
if (result == NULL) {
set_survivor_full();
}
}
! if (!G1FastWriteBarrier && result != NULL) {
_g1h->dirty_young_block(result, *actual_word_size);
}
return result;
}
< prev index next >