From 1f05e2b93980cc13f8847838e0120648708af2f3 Mon Sep 17 00:00:00 2001 From: lxw Date: Fri, 2 Aug 2024 11:38:12 +0800 Subject: [PATCH] [GC] Fix option type in IOPrioritySizePolicy Summary: change type from float to uint for IOPrioritySizePolicyEdenScale to avoid build failure on aarch64 Testing: jtreg Reviewers: maoliang.ml, yude.lyd Issue: https://github.com/dragonwell-project/dragonwell11/issues/853 CR: https://github.com/dragonwell-project/dragonwell11/pull/852 --- src/hotspot/share/gc/parallel/parallel_globals.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hotspot/share/gc/parallel/parallel_globals.hpp b/src/hotspot/share/gc/parallel/parallel_globals.hpp index 2e8d2782101..09870f2f389 100644 --- a/src/hotspot/share/gc/parallel/parallel_globals.hpp +++ b/src/hotspot/share/gc/parallel/parallel_globals.hpp @@ -83,7 +83,7 @@ product(bool, UseIOPrioritySizePolicy, false, \ "eagerly decrease heap when io wait is high") \ \ - product(float, IOPrioritySizePolicyEdenScale, 8.0, \ + product(uint, IOPrioritySizePolicyEdenScale, 8, \ "how much eden to decrease when io wait is high") \ #endif // SHARE_GC_PARALLEL_PARALLEL_GLOBALS_HPP