From 302bc2fd7fdfc02314e22ecc34ba2c78ef5ca9a1 Mon Sep 17 00:00:00 2001 From: Thomas Schatzl Date: Fri, 5 May 2023 06:36:08 +0000 Subject: [PATCH] 8307421: Fix comment in g1CollectionSetChooser.hpp after JDK-8306836 Reviewed-by: shade --- src/hotspot/share/gc/g1/g1CollectionSetChooser.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hotspot/share/gc/g1/g1CollectionSetChooser.hpp b/src/hotspot/share/gc/g1/g1CollectionSetChooser.hpp index 6da5b993ab9..a253cb84808 100644 --- a/src/hotspot/share/gc/g1/g1CollectionSetChooser.hpp +++ b/src/hotspot/share/gc/g1/g1CollectionSetChooser.hpp @@ -54,7 +54,7 @@ public: // Determine whether to add the given region to the collection set candidates or // not. Currently, we skip regions that we will never move during young gc, and - // regions which liveness is below the occupancy threshold. + // regions which liveness is over the occupancy threshold. // Regions also need a complete remembered set to be a candidate. static bool should_add(HeapRegion* hr);