Category: JVM

Java Garbage Collection – Why Does It Have 2 Survivor Regions? 0

Java Garbage Collection – Why Does It Have 2 Survivor Regions?

As we know JVM’s heap structure consists of young generation and old generation. Young generation is further divided into 3 parts – eden space , survivor 1 and survivor 2. But why does JVM...

What are the differences between a Just-in-Time-Compiler and an Interpreter? 0

What are the differences between a Just-in-Time-Compiler and an Interpreter?

In java there are 2 ways in which JVM executes the bytecodes – Interpreter and JIT. Basically they convert bytecode into machine code which gets executed Interpreter: Reads, interprets and executes the bytecode instructions...

What is difference between JDK, JVM and JRE 0

What is difference between JDK, JVM and JRE

JDK (Java Development Kit) The JDK also called Java Development Kit is a superset of the JRE, and contains everything that is in the JRE, plus tools such as the compilers and debuggers necessary...