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

Backport-of: cac72a60181d3570562f8534c691528d06e40cb8
  • Loading branch information
shipilev committed May 31, 2023
1 parent c9013a2 commit c1e979f
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 @@ -479,10 +479,11 @@ void ShenandoahControlThread::request_gc(GCCause::Cause cause) {
GCCause::is_serviceability_requested_gc(cause) ||
cause == GCCause::_metadata_GC_clear_soft_refs ||
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 c1e979f

@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.