Java - Java Virtual Machine (JVM|Java)


Ie the java executable:


Different JVM exist and are embedded/available in a image


Options that:

  • begin with -X are non-standard (not guaranteed to be supported on all VM implementations), and are subject to change without notice in subsequent releases of the JDK.
  • Options that are specified with -XX are not stable and are subject to change without notice.


The garbage collection is the most important factor in tuning a JVM. in order to get a good application performance.

Check it

To be able to check the JVM and to return a message to the user, you need to compile the main class with a lower jdk.

You need then to compile your source code differently. See Configuring compile to run twice

Documentation / Reference

Powered by ComboStrap