RFR(s): 8178364: Command-line flags of type double should accept integer values

David Holmes david.holmes at oracle.com
Mon Apr 10 07:27:43 UTC 2017


Hi Per,

On 10/04/2017 5:05 PM, Per Liden wrote:
> Hi,
>
> For convenience, command-line flags of type double should accept integer
> values (as well as the normal double values). This would allow users to
> write the short form, e.g:
>
> -XX:G1ConcMarkStepDurationMillis=10
>
> instead of always having to do:
>
> -XX:G1ConcMarkStepDurationMillis=10.0
>
> Bug: https://bugs.openjdk.java.net/browse/JDK-8178364
> Webrev: http://cr.openjdk.java.net/~pliden/8178364/webrev.0/
> Testing: JTreg test added, passes jprt

I don't understand why we aren't using set_fp_numeric_flag in this case 
- and surely that already handles this case ??

Thanks,
David

> cheers,
> Per
>


More information about the hotspot-runtime-dev mailing list