Prev Next

Java / JVM

1. What is JVM?

VM(Java Virtual Machine) acts as a run-time engine to run Java applications. JVM is the one that actually calls the main method present in a Java class. JVM is a part of JRE(Java Runtime Environment). JVM enables a computer to run Java programs as well as programs written in other languages and c...

Read full answer

2. Explain the role of the class loader.

The class loader performs the below 3 activities in the mentioned order: Loading : finds and imports the binary data for a type. Linking : performs verification, preparation, and optionally resolution. Verification : ensures the correctness of the imported type. Preparation : allocates memory for...

Read full answer

3. When bottom up approach is good for JVM tuning?

Bottom up approach is considered for tuning when application is running in PROD environment where no immediate code change is possible.

Read full answer

4. Different approaches in JVM tuning.

Top down approach. Bottom up approach.

Read full answer

«
»

Comments & Discussions