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: maoliang.ml, yude.lyd

Reviewers: maoliang.ml, yude.lyd

Issue: #664

CR: #663
  • Loading branch information
weixlu committed Aug 2, 2024
1 parent a400bd2 commit 5780594
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hotspot/src/share/vm/runtime/globals_ext.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5780594

Please sign in to comment.