From 83bf168748730d25378a07478c1c9bd0789478fe Mon Sep 17 00:00:00 2001 From: lxw Date: Fri, 2 Aug 2024 14:39:17 +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: maoliang.ml, yude.lyd Reviewers: maoliang.ml, yude.lyd Issue: https://github.com/dragonwell-project/dragonwell8/issues/664 CR: https://github.com/dragonwell-project/dragonwell8/pull/663 --- hotspot/src/share/vm/runtime/globals_ext.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hotspot/src/share/vm/runtime/globals_ext.hpp b/hotspot/src/share/vm/runtime/globals_ext.hpp index e7f289b11f..ed7893b444 100644 --- a/hotspot/src/share/vm/runtime/globals_ext.hpp +++ b/hotspot/src/share/vm/runtime/globals_ext.hpp @@ -198,7 +198,7 @@ product(bool, UseIOPrioritySizePolicy, false, \ "eagerly decrease heap when io wait is high") \ \ - product(float, IOPrioritySizePolicyEdenScale, 8.0, \ + product(uintx, IOPrioritySizePolicyEdenScale, 8, \ "how much eden to decrease when io wait is high") \ //add new AJVM specific flags here