< prev index next >

src/hotspot/share/gc/shenandoah/shenandoahPassiveMode.cpp

Print this page
rev 56789 : 8233387: Shenandoah: passive mode should disable pacing ergonomically
Reviewed-by: XXX

*** 30,41 **** void ShenandoahPassiveMode::initialize_flags() const { // Do not allow concurrent cycles. FLAG_SET_DEFAULT(ExplicitGCInvokesConcurrent, false); FLAG_SET_DEFAULT(ShenandoahImplicitGCInvokesConcurrent, false); ! // Passive runs with max speed, reacts on allocation failure. ! FLAG_SET_DEFAULT(ShenandoahPacing, false); // No need for evacuation reserve with Full GC, only for Degenerated GC. if (!ShenandoahDegeneratedGC) { SHENANDOAH_ERGO_OVERRIDE_DEFAULT(ShenandoahEvacReserve, 0); } --- 30,41 ---- void ShenandoahPassiveMode::initialize_flags() const { // Do not allow concurrent cycles. FLAG_SET_DEFAULT(ExplicitGCInvokesConcurrent, false); FLAG_SET_DEFAULT(ShenandoahImplicitGCInvokesConcurrent, false); ! // Passive runs with max speed for allocation, because GC is always STW ! SHENANDOAH_ERGO_DISABLE_FLAG(ShenandoahPacing); // No need for evacuation reserve with Full GC, only for Degenerated GC. if (!ShenandoahDegeneratedGC) { SHENANDOAH_ERGO_OVERRIDE_DEFAULT(ShenandoahEvacReserve, 0); }
< prev index next >