jdk in java ,JRE and JVM
JRE: Java Run time Environment ,It is used to provide run time environment. It is the implementation of JVM. It physically exists. It contains of set of libraries + other files.
JDK: Java Development Kit it physically exists. It contains JRE+ development tools.
JVM : Java virtual Machine it is a specification that provides run time environment.
JVM Performs the Loads code,Verifies Code,Executes Code.
Internal Architecutre of JVM
- Class Loader: class loader loads the class files.
- Class(Method) Area: This stores per class structures such as the run time constant pool field and method data the code for methods.
- Heap:It is the run time data area in which objects are allocated.
- Stack: Java Stack stores frames.It holds local variables and partial results.
- Program Counter Register(PC):It contains the address of the Java Virtual Machine instruction currently being executed.
- Native Method Stack:It contains the all the native methods.
- Execution Engine: It contains Virtual Processor, Interpreter,Just In Time Compiler(JIT)
0 comments:
Post a Comment