From d0d1860058f0dae7813c3e5115e2784da8331f3b Mon Sep 17 00:00:00 2001 From: Leo Korinth Date: Tue, 27 Jan 2026 19:11:15 +0100 Subject: [PATCH] Revert "remove commented out code" This reverts commit 9d9df671574be7a15a30ef0af452629330cb4fd1. --- src/hotspot/share/gc/g1/g1YoungCollector.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/hotspot/share/gc/g1/g1YoungCollector.cpp b/src/hotspot/share/gc/g1/g1YoungCollector.cpp index 36cc44a8b7c..d4c380cb6a9 100644 --- a/src/hotspot/share/gc/g1/g1YoungCollector.cpp +++ b/src/hotspot/share/gc/g1/g1YoungCollector.cpp @@ -1125,6 +1125,7 @@ G1YoungCollector::G1YoungCollector(GCCause::Cause gc_cause, } void G1YoungCollector::collect() { +// _g1h->_cm->fully_initialize(); // Do timing/tracing/statistics/pre- and post-logging/verification work not // directly related to the collection. They should not be accounted for in // collection work timing.