Can We Explain the JVM Architecture in depth

Опубликовано: 03 Сентябрь 2019
на канале: Giri's Tech Hub Pvt. Ltd. Pune.
2,324
22

/*
Can we explain the JVM Architecture ?
_______________________________________
JVM Architecutre contain the some of the following
components like as class loader,jvm memory,execution engine etc

following diagram shows the jvm architecture to us


Class Loader :The Class Loader is a sub system used for loading class files,
it perform major three functions loading,linking,and initialization of class files

Method Area: Jvm Method Area Store class structure like as meta data,constant etc

Heap : All the objects,their related instance variables and array are stored in heap
this memory is comman and shared accross multiple threads

JVM Language Stack: java language stack store local variables,and its partial
result.
each thread has its own jvm stack created as simultiniously as the thread created

PC Register: PC Register store the address of the java virtual machine instruction
which is currently executing.
in java every thread having its own pc register

Native Method Stack: native method stack hold the instructions of the native code
depends on native library
it is written different language instead of java
etc

core java interview questions,core java interview question and answers for freshers,top 10 tricky core java interview questions top java interview questions,top java interview questions and answers,top 10 java interview questions,top 50 java interview questions,top 50 core java interview questions,java interview questions and answers,core java interview questions and answers for experienced,java interview questions,core java interview questions and answers,java interview