Jvm

291 views

Published on

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

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

No notes for slide
  • Since your applications run in a virtual machine instead of directly on your hardware, the developer can program and build their application once, which can then be executed on every device with an implementation of the Java Virtual Machine. 
  • Jvm

    1. 1. JVM and Machine Independency Anjali g anjalig2009@gmail.com www.facebook.com/AnjaliG eetha twitter.com/AnjaliGeetha in.linkedin.com/in/Anjali G 9497879952
    2. 2. • JVM is the acronym for java virtual machine • JVM is a platform-independent execution environment that converts Java byte code into machine language and executes it • Byte codes are machine code instructions for JVM • Most programming languages compile source code directly into machine code that is designed to run on a specific microprocessor architecture or operating system
    3. 3. • JVM interprets compiled java binary code for a computers processor • “Write once, run everywhere.” • The Specification specifies an 1. instruction set, 2. a set of registers, 3. a stack, 4. a "garbage heap," and 5. a memory area • Code for JVM contains in .class files.
    4. 4. • The main advantage of this system is the increased compatibility • relative security of Java programs as a result of the Java Virtual Machine. • JVM consist of following components:- 1)Byte-code verifier :- It verify the byte-code ,it check's for unusual code. 2)Class Loader :- After verifying Class Loader will load the byte-code into the memory for execution. 3)Execution engine :- It further consist of 2 parts :- a)Interpreter :- It interpret the code & run. b)JIT(Just-in-Time Compiler)
    5. 5. • 4)Garbage Collector:- It periodically check for the object on heap , whose link is broken So it can collect the garbage from Heap. 5) Security Manager :- It constantly monitors the code. It is 2nd level of security.[1st level is Byte-code verifier ].
    6. 6. Thank you..
    7. 7. If this presentation helped you, please visit our page facebook.com/baabtra and like it. Thanks in advance. www.baabtra.com | www.massbaab.com |www.baabte.com
    8. 8. Contact Us 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 Start up Village Eranakulam, Kerala, India. Email: info@baabtra.com

    ×