JVM- Java Virtual Machine

1,855 views

Published on

IT...

Published in: Education
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,855
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
32
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

JVM- Java Virtual Machine

  1. 1. Java Virtual Machine (JVM)
  2. 2. Lecture Objectives• Learn about the Java Virtual Machine (JVM)• Understand the functionalities of the class loader subsystem• Understand the class initialization process
  3. 3. Introduction to the JVM (Cont’d)• When JVM loads a class file, it puts its information in the method area• As the program runs, all objects instantiated are stored in the heap
  4. 4. Introduction to the JVM (Cont’d) Figure 2: Content of Memory Blocks at runtime.
  5. 5. The Class Loader Subsystem• The class loader performs three main functions of JVM, namely: loading, linking and initialization• The linking process consists of three sub-tasks, namely, verification, preparation, and resolution Figure 3: Class loading process.
  6. 6. Class Loading Process (Cont’d)public methods are displayed ONLY!

×