Review Request JDK-8136930 Examine implications for custom launchers, equivalent of java -X options in particular

Alan Bateman Alan.Bateman at oracle.com
Thu Jun 9 06:26:36 UTC 2016


On 08/06/2016 23:37, Coleen Phillimore wrote:
>
> :
>
> I have to ask why Hotspot convention was violated with this new option 
> syntax?  These options don't start with -X and the values aren't 
> specified as : separators like the rest? Like 
> -Xshare:{dump,auto,on,off}, etc.  Why are these different?
I see Mandy has pointed to -agentlib, -javaagent and others which are 
also handled by the VM.

In general then distinction between so-called standard and -X options 
has been blurred for many years. At some point we need to take a pass 
over the new options and decide whether they should be -X or not.  -X is 
particularly annoying when you start to translate the option names GNU 
style.

> :
>
> Someone already asked this but are there tests for all these 
> combinations of options?
The main tests for these options, and combinations, are in 
jdk/tests/launcher/modules.

-Alan


More information about the hotspot-runtime-dev mailing list