Skip to content

Tag Archives: java-JVM

JVM Stands for Java Virtual Machine. It is an abstract computing machine that allows a computer to run a Java program.  It is a platform-independent… Read More
There are two types of memory stack memory and heap memory. All the dynamic allocations go into heap memory and the rest of the static… Read More
JDK and JRE are the core concepts in Java programming and their differences are some of the most popular interview questions. We don’t use these… Read More
A JVM or Java Virtual Machine is a software implementation of a physical machine, or we can say it is an abstract machine. Java was… Read More
Java Virtual Machine (JVM) is used in the java runtime environment(JRE). The original JVM was conceived as a bytecode interpreter. This may come as a… Read More
Java virtual machine or JVM can be visualized as a virtual machine residing in the computer that provides an environment for the code to get… Read More
In every programming language, memory is a vital resource and is also scarce in nature. Hence it’s essential that the memory is managed thoroughly without… Read More
JVM (Java Virtual Machine) is an abstract machine, In other words, it is a program/software which takes Java bytecode and converts the byte code (line… Read More
This article will focus on Java memory management, how the heap works, reference types, garbage collection, and also related concepts. Why Learn Java Memory Management?… Read More
Before proceeding further with the fuss of immutability, let’s just take a look into the String class and its functionality a little before coming to… Read More
For every thread, JVM creates a separate stack at the time of thread creation. The memory for a Java Virtual Machine stack does not need… Read More
After the class loader in the JVM loads the byte code of .class file to the machine the Bytecode is first checked for validity by… Read More
Java Development Kit (JDK) is a software development environment used for developing Java applications and applets. It includes the Java Runtime Environment (JRE), an interpreter/loader… Read More
Shutdown Hooks are a special construct that allows developers to plug in a piece of code to be executed when the JVM is shutting down.… Read More
JVM(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… Read More