From 01a6aee90f4c6d5afc893d96c0b2725f08427f65 Mon Sep 17 00:00:00 2001 From: Thomas Schatzl Date: Fri, 26 Sep 2025 14:51:49 +0200 Subject: [PATCH] * some comment update for target_occupancy() --- src/hotspot/share/gc/g1/g1IHOPControl.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/hotspot/share/gc/g1/g1IHOPControl.hpp b/src/hotspot/share/gc/g1/g1IHOPControl.hpp index 06b2ab13266..2a315599fd4 100644 --- a/src/hotspot/share/gc/g1/g1IHOPControl.hpp +++ b/src/hotspot/share/gc/g1/g1IHOPControl.hpp @@ -55,6 +55,7 @@ protected: // The target maximum occupancy of the heap. The target occupancy is the number // of bytes when marking should be finished and reclaim started. + // It is only considered for starting the marking. // This is a function of current heap size and external SoftMaxHeapSize goal. size_t target_occupancy() const;