Skip to content

Commit

Permalink
8346688: GenShen: Missing metadata trigger log message
Browse files Browse the repository at this point in the history
Backport-of: b8e40b9c2dfecdad9096015c1aa208ea077db7f5
  • Loading branch information
William Kemper committed Dec 20, 2024
1 parent 463eb23 commit 48cd85f
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -64,7 +64,8 @@ void ShenandoahRegulatorThread::regulate_young_and_old_cycles() {
if (mode == ShenandoahGenerationalControlThread::none) {
if (should_start_metaspace_gc()) {
if (request_concurrent_gc(GLOBAL)) {
log_debug(gc)("Heuristics request for global (unload classes) accepted.");
// Some of vmTestbase/metaspace tests depend on following line to count GC cycles
_global_heuristics->log_trigger("%s", GCCause::to_string(GCCause::_metadata_GC_threshold));
}
} else {
if (_young_heuristics->should_start_gc()) {

0 comments on commit 48cd85f

Please sign in to comment.