---
title: "JVM AND ITS ARCHTECTURE"  
description: "JVM AND ITS ARCHITECTURE: It is a part of jre and provides runtime environment to drive java code or application. It converts bytecode into machine e"  
author: "Anonymous User"  
published: 2018-08-30  
updated: 2018-08-31  
canonical: https://www.mindstick.com/blog/11949/jvm-and-its-archtecture  
category: "java"  
tags: ["java"]  
reading_time: 1 minute  

---

# JVM AND ITS ARCHTECTURE

**[JVM](https://www.mindstick.com/articles/12071/anatomy-of-java-virtual-machine-jvm) AND ITS [ARCHITECTURE](https://www.mindstick.com/articles/249193/top-5-reasons-to-pursue-architecture):**

It is a part of jre and provides [runtime](https://www.mindstick.com/articles/52/creating-timer-at-runtime-in-c-sharp-dot-net) [environment](https://yourviews.mindstick.com/view/308/need-to-create-a-supportive-work-environment-for-women) to drive [java](https://www.mindstick.com/articles/12214/web-development-company-in-india-laid-on-the-foundation-of-concrete-java-programming) [code](https://yourviews.mindstick.com/view/85458/alan-turing-the-mastermind-behind-cracking-the-enigma-code-during-world-war-ii) or application. It converts bytecode into machine executable code.

Java [compiler](https://www.mindstick.com/articles/27/just-in-time-compiler) generates code for a [virtual machine](https://www.mindstick.com/forum/157900/what-is-a-virtual-machine-and-how-does-it-work) [known as](https://answers.mindstick.com/qa/35703/ricky-ponting-is-also-known-as-what) Java virtual machine.

Architecture:

![JVM AND ITS ARCHTECTURE](https://www.mindstick.com/blogs/494e820e-6c9d-4c30-9f50-b208ce8fe0f6/images/f7e20956-a41f-4b8c-ba59-e8ab35479f3f.png)\

## Class-loader:

It is used for loading class files and performing three major functions-loading, linking and initialization.

## Method area:

It stores structure of class and methods.

## Heap:

The object, instance variables, and arrays are stored in it. this memory is shared by threads. ..

## JVM language stack:

It stores the local variable and its partial results.

## Pc registers:

It stores the currently executing machine instruction.

## Native method stack:

It stores the instruction of native code.it is written in another language.

## Execution engine:

It is a type of software used to test the complete system.

## Native method interface:

It allows Java code which is running in a JVM to call by libraries and native applications.

## Native method library:

Native Library is a collection of the Libraries which are needed by the Execution Engine.

\

---

Original Source: https://www.mindstick.com/blog/11949/jvm-and-its-archtecture

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
