Pages

Thursday, February 12, 2015

JVM Java Virtual Machine Architecture and Structure

  • JVM is responsible for taking .class file and converting that .class file in machine code instructions that can be executed by microprocessor.
  • It’s not a machine, it’s a program.
  • JVM verifies the code before execution (Sandbox Security).
  • JVM is platform dependent and it is heart of Java language.


java program execution

There are four phases of JVM

  • Load Code
  • Verify Code
  • Execute Code
  • Provide Runtime Environment

Overview of Java virtual machine (JVM) architecture and structure


Java virtual machine architecture


Java Virtual Machine Structure

Image Source: http://viralpatel.net/blogs/java-virtual-machine-an-inside-story/

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.