By understanding and using JVM and JVM parameters, both developers and end users can diagnose failures and improve the performance of a Java application. By Jayashree Huttanagoudar @redhat.
When you write source code, you’re writing code for humans to read. Computers can’t execute source code until the code is compiled into machine language, a generic term referring to any number of languages required by a specific machine. Normally, if you compile code on Linux, it runs on Linux, and if you compile code on Windows, it runs on Windows, and so on. However, Java is different. It doesn’t target an actual machine. It targets something called the Java Virtual Machine (JVM), and so it can run on any machine.
Tuning a JVM is the process of adjusting JVM parameters to improve the performance of the Java application. It also helps to diagnose application failure.
The article focuses mainly on:
- What’s the difference between a JVM, JDK, and JRE?
- What is JVM tuning?
- Types of JVM Parameters
- Standard options
- Non-standard options
- Advanced options
By understanding and using JVM and JVM parameters, both developers and end users can diagnose failures and improve the performance of a Java application. The next time you’re working with Java, take a moment to look at the options available to you.
[Read More]