Transcript

WELCOME

JVM

MIDHUN SUDHAKARmidhusudhakaran@gmail.comMidhun.sudhakar.73@facebook.com twitter.com/midhunopusin.linkedin.com/pub/midhunsudhakar/86/a65/

a9b/Phonenumber

9995586182

Disclaimer: This presentation is prepared by trainees of baabtra as a part of mentoring program. This is not official document of baabtra –Mentoring PartnerBaabtra-Mentoring Partner is the mentoring division of baabte System Technologies Pvt . Ltd

CONTENTWHAT IS VIRTUALIZATIONWHAT IS JVMHOW IT WORKSCOMPARISON ON JVM,JRE,JDKDIFFERENCE BETWEEN JVM AND JIT

WHAT IS VIRTUALIZATION

WHAT IS JVM

A Java virtual machine is a virtual machine that can execute Java byte code.

HOW IT WORKS

Lets first look atCompile and linking process in c

a1.c

a2.c

a3.c

main(){

F1();F2();

}

F1(){}

F2(){}

a1.c

a2.c

a3.c

main(){

F1();F2();

}

F1(){}

F2(){}

main(){

F1();F2();

}

F1(){}

F2(){}

COMPILER

main(){

F1();F2();

}

F1(){}

F2(){}

COMPILER

a1.obj

a2.obj

a2.obj

Object files contain machine code

main(){

F1();F2();

}

F1(){}

F2(){}

COMPILER

a1.obj

a2.obj

a2.obj

LINKER aa1.exe

a1.exe

RAM

a1.exe

RAM

Lets look at theCompile and linking process in JAVA

a1.java

a2.java

a3.java

main(){

F1();F2();

}

F1(){}

F2(){}

main(){

F1();F2();

}

F1(){}

F2(){}

COMPILER

Main(){

F1();F2();

}

F1(){}

F2(){}

COMPILER

a1.class

a2.class

a2.class

.class files contain byte code

main(){

F1();F2();

}

F1(){}

F2(){}

COMPILER

a1.class

a2.class

a2.class

Unlike C no linking is done

a1.class

a2.class

a3.class

RAM

JVM

JAVA ARCHITECTURE

a1.class

RAM

JVM

JAVA ARCHITECTURE

a2.class

a3.class

CLASS LOADER

RAM

JVM

JAVA ARCHITECTURE

CLASS LOADER

a1.class

a2.class

a3.class

a1.class

RAM

JVM

JAVA ARCHITECTURE

a2.class

a3.class

CLASS LOADER

BYTECODE VERIFIER

a1.class

RAM

JVM

JIT converts BYTE CODE into machine code

a2.class

a3.class

CLASS LOADER

BYTECODE VERIFIER

EXECUTIONENGINE

JIT CODE GENERATOR

COMPARISON ON JVM,JRE,JDK

JVMJVMJVM

JREJDK

JRE

DIFFERENCE BETWEEN JVM,JIT

IS JAVA A COMPILED OR AN INTERPRETED?

JAVA is both compiled and interpreted

THANK YOU

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.

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

Emarald Mall (Big Bazar Building)Mavoor Road, Kozhikode,Kerala, India.Ph: + 91 – 495 40 25 550

NC Complex, Near Bus StandMukkam, Kozhikode,Kerala, India.Ph: + 91 – 495 40 25 550

Cafit Square,Hilite Business Park,Near Pantheerankavu,Kozhikode

Start up VillageEranakulam,Kerala, India.Email: info@baabtra.com

Contact Us

top related