JVM (Java Virtual Machine) is an abstract machine. It is a specification that provides runtime environment in which java bytecode can be executed.
JVMs are available for many hardware and software platforms (i.e. JVM is platform dependent).
Load JVM perform fallowing operation
LVM provide defination for the :
Let's understand the internal architecture of JVM. It contains classloader, memory area, execution engine etc.
Classloader is a subsystem of JVM that is used to load class files.
Class(Method) Area stores per-class structures such as the runtime constant pool, field and method data, the code for methods
It is the runtime data area in which objects are allocated.
Java Stack stores frames.It holds local variables and partial results, and plays a part in method invocation and return.
Each thread has a private JVM stack, created at the same time as thread.
A new frame is created each time a method is invoked. A frame is destroyed when its method invocation completes.
PC (program counter) register. It contains the address of the Java virtual machine instruction currently being executed.
It contains all the native methods used in the application.
It contain :