RFR 8060256: The loop in Arguments::parse() can be enhanced

Bertrand Delsart bertrand.delsart at oracle.com
Thu Oct 16 08:58:35 UTC 2014


Thanks for implementing it Jiangly.

Bertrand.

On 16/10/14 01:20, Jiangli Zhou wrote:
> Hi,
>
> This enhancement was suggested by Bertrand during the review for
> 8047934. The 'continue' statement can be added to the matching cases to
> avoid the further checks after that.
>
>    http://cr.openjdk.java.net/~jiangli/8060256/webrev.00/
>
> Tested with jtreg hotspot/test/runtime/CommandLine tests, including the
> new one being added. Also started JPRT, no failure so far.
>
> Thanks,
> Jiangli


-- 
Bertrand Delsart,                     Grenoble Engineering Center
Oracle,         180 av. de l'Europe,          ZIRST de Montbonnot
38334 Saint Ismier,                                        FRANCE
bertrand.delsart at oracle.com             Phone : +33 4 76 18 81 23

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NOTICE: This email message is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient,
please contact the sender by reply email and destroy all copies of
the original message.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


More information about the hotspot-runtime-dev mailing list