Skip to content

Commit

Permalink
8300053: Shenandoah: Handle more GCCauses in ShenandoahControlThread:…
Browse files Browse the repository at this point in the history
…:request_gc

Reviewed-by: wkemper, rkennke
  • Loading branch information
shipilev committed Jan 16, 2023
1 parent 6fea233 commit cac72a6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/hotspot/share/gc/shenandoah/shenandoahControlThread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

1 comment on commit cac72a6

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.