Skip to content

Commit

Permalink
[GC] Fix option type in IOPrioritySizePolicy
Browse files Browse the repository at this point in the history
Summary: change type from float to uint for IOPrioritySizePolicyEdenScale to avoid build failure on aarch64

Testing: jtreg

Reviewers: maoliang.ml, yude.lyd

Issue: #853

CR: #852
  • Loading branch information
weixlu committed Aug 2, 2024
1 parent 1a9a9c2 commit 1f05e2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hotspot/share/gc/parallel/parallel_globals.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 1f05e2b

Please sign in to comment.