From 2a565ff36809599117e4b38e18f15d1f29cd8fc0 Mon Sep 17 00:00:00 2001 From: Albert Mingkun Yang Date: Wed, 13 Dec 2023 11:18:51 +0000 Subject: [PATCH] 8321808: G1: Use unsigned type for non-negative G1 flags Reviewed-by: tschatzl, iwalulya --- src/hotspot/share/gc/g1/g1_globals.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/hotspot/share/gc/g1/g1_globals.hpp b/src/hotspot/share/gc/g1/g1_globals.hpp index c46c1b47332..5f7f3a27d5b 100644 --- a/src/hotspot/share/gc/g1/g1_globals.hpp +++ b/src/hotspot/share/gc/g1/g1_globals.hpp @@ -113,11 +113,11 @@ "of the optimal occupancy to start marking.") \ range(1, max_intx) \ \ - product(uint, G1ConfidencePercent, 50, \ + product(uint, G1ConfidencePercent, 50, \ "Confidence level for MMU/pause predictions") \ range(0, 100) \ \ - product(intx, G1SummarizeRSetStatsPeriod, 0, DIAGNOSTIC, \ + product(uintx, G1SummarizeRSetStatsPeriod, 0, DIAGNOSTIC, \ "The period (in number of GCs) at which we will generate " \ "update buffer processing info " \ "(0 means do not periodically generate this info); " \ @@ -148,7 +148,7 @@ "Number of entries in an SATB log buffer.") \ constraint(G1SATBBufferSizeConstraintFunc, AtParse) \ \ - develop(intx, G1SATBProcessCompletedThreshold, 20, \ + develop(uintx, G1SATBProcessCompletedThreshold, 20, \ "Number of completed buffers that triggers log processing.") \ range(0, max_jint) \ \