8065579: WB method to start G1 concurrent mark cycle should be introduced

Add a WhiteBox callback to the VM to start a concurrent mark cycle in G1.

Reviewed-by: tschatzl, sjohanss
This commit is contained in:
Leonid Mesnik 2014-11-28 09:33:48 +01:00 committed by Thomas Schatzl
parent 0ecc753586
commit c8a147b8c7
7 changed files with 82 additions and 10 deletions

View file

@ -2257,6 +2257,7 @@ bool G1CollectedHeap::should_do_concurrent_full_gc(GCCause::Cause cause) {
case GCCause::_java_lang_system_gc: return ExplicitGCInvokesConcurrent;
case GCCause::_g1_humongous_allocation: return true;
case GCCause::_update_allocation_context_stats_inc: return true;
case GCCause::_wb_conc_mark: return true;
default: return false;
}
}