Jvm architecture in java


  
Operations of JVM 


















JVM mainly perform following operations.
Ø  Allocating sufficient memory space for the class properties.
Ø  Provide runtime environment in which java can be executed.
Ø  Converting byte code instructions into machine level instruction.
Class loader subsystem:
Class loader subsystem will load the .class file into stack and later sufficient memory allocated for all properties of the java program into five memory location.

Heap area:
In which object reference will be stored.
Method area:
In which static variable, non-static and static method will be stored.
Java stack:
In which will be non-static variable of class will be stored and whose address referred by object reference.
PC register:
Which holds the address of next executable instruction that means that use the priority for the method in execution process?
Native stack:
Native stack holds the instructions of native code (other than java code) native stack depends up on native library. Native interface will be access interface between native stack and library.
Execution engine:
Which contain interpreter and JIT compiler when ever every java program is executing at first time interpreter will come into picture and it converts one by one byte code instruction into machine level instruction, JIT compiler will comes in picture from the second time on word, if the same java program is executing and it gives the machine level instruction to the process which is available in the buffer memory.