Java Virtual Machine - JVM - Techonica Tutorials - All you Need to Know

Breaking

JAVA TUTORIALS ARE LIVE NOW

Saturday, 17 March 2018

Java Virtual Machine - JVM


Indroduction to JVM

The Magic of Platform Independence
Java is one of the prime programming language in the present world.It has contributed immensely to the development of the web programming easily. So lets get started to develop our ideas in Java.


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

No comments:

Post a Comment