8300053: Shenandoah: Handle more GCCauses in ShenandoahControlThread::request_gc
Reviewed-by: wkemper, rkennke
This commit is contained in:
parent
6fea233e22
commit
cac72a6018
@ -482,10 +482,11 @@ void ShenandoahControlThread::request_gc(GCCause::Cause cause) {
|
||||
cause == GCCause::_codecache_GC_aggressive ||
|
||||
cause == GCCause::_codecache_GC_threshold ||
|
||||
cause == GCCause::_full_gc_alot ||
|
||||
cause == GCCause::_wb_young_gc ||
|
||||
cause == GCCause::_wb_full_gc ||
|
||||
cause == GCCause::_wb_breakpoint ||
|
||||
cause == GCCause::_scavenge_alot,
|
||||
"only requested GCs here");
|
||||
"only requested GCs here: %s", GCCause::to_string(cause));
|
||||
|
||||
if (is_explicit_gc(cause)) {
|
||||
if (!DisableExplicitGC) {
|
||||
|
Loading…
Reference in New Issue
Block a user