The declarations of JVM options, whose ranges are small values, should be changes from 64 bits to 32 bits. For example, AdaptiveTimeWeight is declared as a uintx but need only be a uint.
product(uintx, AdaptiveTimeWeight, 25, \
"Weight given to time in adaptive policy, between 0 and 100") \
range(0, 100) \
Changing AdaptiveTimeWeight to a uint prevents -Wconversion compiler warnings when it is assigned to variables declared as uint's.
product(uintx, AdaptiveTimeWeight, 25, \
"Weight given to time in adaptive policy, between 0 and 100") \
range(0, 100) \
Changing AdaptiveTimeWeight to a uint prevents -Wconversion compiler warnings when it is assigned to variables declared as uint's.
- relates to
-
JDK-8135181 Re-enable '-Wconversion' for GCC 4.3 and later
- Open
There are no Sub-Tasks for this issue.