Jvm

269 views
216 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
269
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
7
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Jvm

  1. 1. WELCOME
  2. 2. JVM MIDHUNSUDHAKAR midhusudhakaran@gmail.com Midhun.sudhakar.73@facebook.com twitter.com/midhunopus in.linkedin.com/pub/midhunsudhakar/86/a65/a9b/Phonenumber 9995586182
  3. 3. Disclaimer: This presentation is prepared by trainees of baabtra as a part of mentoring program. This is not official document of baabtra –Mentoring Partner Baabtra-Mentoring Partner is the mentoring division of baabte System Technologies Pvt . Ltd
  4. 4. CONTENT WHAT IS VIRTUALIZATION WHAT IS JVM HOW IT WORKS COMPARISON ON JVM,JRE,JDK DIFFERENCE BETWEEN JVM AND JIT
  5. 5. WHAT IS VIRTUALIZATION
  6. 6. WHAT IS JVM A Java virtual machine is a virtual machine that can execute Java byte code.
  7. 7. HOW IT WORKS Lets first look at Compile and linking process in c
  8. 8. a1.c a2.c a3.c main(){ F1(); F2(); } F1(){ } F2(){ }
  9. 9. a1.c a2.c a3.c main(){ F1(); F2(); } F1(){ } F2(){ }
  10. 10. main(){ F1(); F2(); } F1(){ } F2(){ } COMPILER
  11. 11. main(){ F1(); F2(); } F1(){ } F2(){ } COMPILER a1.obj a2.obj a2.obj Object files contain machine code
  12. 12. main(){ F1(); F2(); } F1(){ } F2(){ } COMPILER a1.obj a2.obj a2.obj LINKER aa1.exe
  13. 13. a1.exe RAM
  14. 14. a1.exe RAM
  15. 15. Lets look at the Compile and linking process in JAVA
  16. 16. a1.java a2.java a3.java main(){ F1(); F2(); } F1(){ } F2(){ }
  17. 17. main(){ F1(); F2(); } F1(){ } F2(){ } COMPILER
  18. 18. Main(){ F1(); F2(); } F1(){ } F2(){ } COMPILER a1.class a2.class a2.class .class files contain byte code
  19. 19. main(){ F1(); F2(); } F1(){ } F2(){ } COMPILER a1.class a2.class a2.class Unlike C no linking is done
  20. 20. a1.class a2.class a3.class RAM JVM JAVA ARCHITECTURE
  21. 21. a1.class RAM JVM JAVA ARCHITECTURE a2.class a3.class CLASS LOADER
  22. 22. RAM JVM JAVA ARCHITECTURE CLASS LOADER a1.class a2.class a3.class
  23. 23. a1.class RAM JVM JAVA ARCHITECTURE a2.class a3.class CLASS LOADER BYTE CODE VERIFIER
  24. 24. a1.class RAM JVM JIT converts BYTE CODE into machine code a2.class a3.class CLASS LOADER BYTE CODE VERIFIER EXECUTION ENGINE JIT CODE GENERATOR
  25. 25. COMPARISON ON JVM,JRE,JDK
  26. 26. JVMJVMJVM JRE JDK JRE
  27. 27. DIFFERENCE BETWEEN JVM,JIT
  28. 28. IS JAVA A COMPILED OR AN INTERPRETED?
  29. 29. JAVA is both compiled and interpreted
  30. 30. THANK YOU
  31. 31. Want to learn more about programming or Looking to become a good programmer? Are you wasting time on searching so many contents online? Do you want to learn things quickly? Tired of spending huge amount of money to become a Software professional? Do an online course @ baabtra.com We put industry standards to practice. Our structured, activity based courses are so designed to make a quick, good software professional out of anybody who holds a passion for coding.
  32. 32. Follow us @ twitter.com/baabtra Like us @ facebook.com/baabtra Subscribe to us @ youtube.com/baabtra Become a follower @ slideshare.net/BaabtraMentoringPartner Connect to us @ in.linkedin.com/in/baabtra Give a feedback @ massbaab.com/baabtra Thanks in advance www.baabtra.com | www.massbaab.com |www.baabte.com
  33. 33. Emarald Mall (Big Bazar Building) Mavoor Road, Kozhikode, Kerala, India. Ph: + 91 – 495 40 25 550 NC Complex, Near Bus Stand Mukkam, Kozhikode, Kerala, India. Ph: + 91 – 495 40 25 550 Cafit Square, Hilite Business Park, Near Pantheerankavu, Kozhikode Start up Village Eranakulam, Kerala, India. Email: info@baabtra.com Contact Us

×