There are lots of parameters for JVM. Some start with -, such as -server, -client. Some start with -X, such as -Xms, -Xmx. Some start with -XX, such as -XX:PermSize, -XX:UseParallelGC.
So here is my question. Since these parameters are not duplicated, why start with so many different prefix? Why not just use "-". My guess is there are some kind of standards for this. The -XX parameters are extension settings and not supported by all JVM impls. Is that so?
Select the objects and properties associated with the Java™ Virtual Machine (JVM) that you want to change. To change these properties, you must specify the integration node name, and set the ObjectName to ComIbmJVMManager.
Program Argument: Program arguments are arguments that are passed to your application, which are accessible via the "args" String array parameter of your main method. VM Argument: VM arguments are environment or system argument that needed by JVM to execute the program.
You can change the parameters passed to the JVM in the Arguments tab in the VM Arguments box. That configuration can then be used as the default when running the project.
These are three main categories of Command-Line Argument options:
Standard options :Options that begin with - are Standard options are expected to be accepted by all JVM implementations and are stable between releases (though they can be deprecated).
Non-standard options :Options that begin with -X are non-standard (not guaranteed to be supported on all JVM implementations), and are subject to change without notice in subsequent releases of the Java SDK.
Developer options :Options that begin with -XX are developer options and often have specific system requirements for correct operation and may require privileged access to system configuration parameters; they are not recommended for casual use. These options are also subject to change without notice.
src
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With