Basic Architecture of JVM
JVM is the part of JRE (Java Run Time Environment), also known as execution machine or execution engine. The main purpose of JVM is to load .class file generated by compilation of java source file and second most important purpose is to run (execute ) .class file byte code instructions line by line.
Main Purpose Of JVM:
1-Load .class file
2-Execute .class file
According to the above explanation, JVM architecture divided into three most important subsystems.
1-Class Loading Sub-System
2-Memory System required to load .class file
3-Execution Engine
The basic architecture (components) and execution flow are given below. Fig 1: Execution flow
Fig.2