Indroduction to JVM
Lets get started with a detailed video tutorial.
Architecture of JVM
1) Classloader
-- System Classloader
-- Extension Classloader
-- Bootstrap Classloader
If not able to find the class, then we will get the CNF(class not found)
2) Class(Method) Area
-- Storage area for the compiled java code
3) Heap
-- Heap is runtime data area where the objects are allocated
a) Nursery -- Young Collection
b) Old Space -- Old Collection
4) Stack
It basically partial results and variables
Stores Frames
Each thread has its own private JVM Stack
5) Program Counter Register
-- It contains of the java virtual machine instruction that is currently being executed.
6) Native Method Stack
-- Native methods that are used in the application
7) Execution Engine
-- Virtual Processor
-- Interpreter
-- JIT Compiler (Just-In-Time)
- It converts Java Bytecode to CPU Instructions
8) Native Method Interface
9) Java Native Libraries
-- System Classloader
-- Extension Classloader
-- Bootstrap Classloader
If not able to find the class, then we will get the CNF(class not found)
2) Class(Method) Area
-- Storage area for the compiled java code
3) Heap
-- Heap is runtime data area where the objects are allocated
a) Nursery -- Young Collection
b) Old Space -- Old Collection
4) Stack
It basically partial results and variables
Stores Frames
Each thread has its own private JVM Stack
5) Program Counter Register
-- It contains of the java virtual machine instruction that is currently being executed.
6) Native Method Stack
-- Native methods that are used in the application
7) Execution Engine
-- Virtual Processor
-- Interpreter
-- JIT Compiler (Just-In-Time)
- It converts Java Bytecode to CPU Instructions
8) Native Method Interface
9) Java Native Libraries
No comments:
Post a Comment