comparison src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp @ 23472:047a642c9729

8065579: WB method to start G1 concurrent mark cycle should be introduced Summary: Add a WhiteBox callback to the VM to start a concurrent mark cycle in G1. Reviewed-by: tschatzl, sjohanss Contributed-by: Leonid Mesnik <leonid.mesnik@oracle.com>
author kevinw
date Wed, 02 Dec 2015 13:58:34 +0530
parents 5cece4584b8e
children f3f2f71d2dc8
comparison
equal deleted inserted replaced
23471:70649f10b88c 23472:047a642c9729
2329 switch (cause) { 2329 switch (cause) {
2330 case GCCause::_gc_locker: return GCLockerInvokesConcurrent; 2330 case GCCause::_gc_locker: return GCLockerInvokesConcurrent;
2331 case GCCause::_java_lang_system_gc: return ExplicitGCInvokesConcurrent; 2331 case GCCause::_java_lang_system_gc: return ExplicitGCInvokesConcurrent;
2332 case GCCause::_g1_humongous_allocation: return true; 2332 case GCCause::_g1_humongous_allocation: return true;
2333 case GCCause::_update_allocation_context_stats_inc: return true; 2333 case GCCause::_update_allocation_context_stats_inc: return true;
2334 case GCCause::_wb_conc_mark: return true;
2334 default: return false; 2335 default: return false;
2335 } 2336 }
2336 } 2337 }
2337 2338
2338 #ifndef PRODUCT 2339 #ifndef PRODUCT