JVM AND ITS ARCHITECTURE:
It is a part of jre and provides runtime environment to drive java code or application. It converts bytecode into machine executable code.
Java compiler generates code for a virtual machine known as Java virtual machine.
Architecture:
Class-loader:
It is used for loading class files and performing three major functions-loading, linking and initialization.
Method area:
It stores structure of class and methods.
Heap:
The object, instance variables, and arrays are stored in it. this memory is shared by threads. ..
JVM language stack:
It stores the local variable and its partial results.
Pc registers:
It stores the currently executing machine instruction.
Native method stack:
It stores the instruction of native code.it is written in another language.
Execution engine:
It is a type of software used to test the complete system.
Native method interface:
It allows Java code which is running in a JVM to call by libraries and native applications.
Native method library:
Native Library is a collection of the Libraries which are needed by the Execution Engine.
Leave Comment