Java Virtual Machine

Java™ Virtual Machine (JVM) is a platform-independent programming language that converts Java bytecode into machine language and executes it.

When you compile a Java source, you get an intermediate Java file called the Java class. The class file is made up of bytecodes representing abstract instruction codes. These codes are not directly executable by any computer processor.

To run a Java program, you start a JVM and pass the class file to the JVM. The JVM provides many services, including loading the class file and interpreting (executing) the byte codes. The JVM is the core technology that provides the runtime environment in which a Java application runs.

Each Java program or application runs in its own JVM. For example, if you configured an application server cluster with ten managed server instances that are controlled by one administrative instance, your configuration runs 11 JVM processes.

Since JVM is the underlying processing engine, it is critical that the JVMs are optimally configured and are running efficiently. Incorrect JVM settings may lead to poor application performance or JVM outages.

Run the following command to find out the JVM version installed in your system:

$JAVA_HOME/bin/java -version

Note: If your environment handles large concurrent communications traffic, it is recommended to increase the value of the gmm.maxAllocation property in the perimeter.properties file, along with increasing the maximum heap size of your JVM. In such a scenario, set gmm.maxAllocation to a value greater than 384 MB. For more information about the gmm.maxAllocation property, refer to the inline comments in the perimeter.properties file.