mirror of
https://github.com/openjdk/jdk.git
synced 2026-01-28 12:09:14 +00:00
8346688: GenShen: Missing metadata trigger log message
Reviewed-by: ysr, kdnilsen
This commit is contained in:
parent
d2a48634b8
commit
b8e40b9c2d
@ -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()) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user