JAVA Tutorial for Beginners | How Java Virtual Machine works in JAVA

Publicado el: 30 diciembre 2017
en el canal de: Software Testing Step-by-Step
374
3

How Java Virtual Machine works in JAVA,JAVA Tutorial for Beginners | How Java Virtual Machine works in JAVA
Java is a high level programming Language
High level language can not directly runs on any machine without any support.
It should translated into a particular machine learning language.
In Java javac compiler does the same.
Compiler check .java files and translates it to machine code that is .class files

It resides in real machine example : Laptop
Machine Language is byte Code
JVM execute the byte code generated by the compiler
And produce the Output
It is the one which makes Java platform Independent.
JAVA Tutorial for Beginners.
JVM Architecture

Class Loader : loads .class file and save the byte code in the method area.
Method Area: Method area in a JVM which is shared among all the classes, class level information of each .class file.
Heap: Heap is a part of JVM memory where objects are allocated.
Stack: Is also a part of JVM memory ,it is used for storing temporary variables.
PC Registers: Keeps the track of which instruction has been executed & which is going to be executed.
Native Method stack: A native method can access the runtime data areas of the virtual machine.
Native Method interface: Which enables java code to call by native applications.
Garbage collection: A class instance is explicitly created by the java code and after use it is automatically destroyed by garbage collection for memory management.


En esta página del sitio puede ver el video en línea JAVA Tutorial for Beginners | How Java Virtual Machine works in JAVA de Duración hora minuto segunda en buena calidad , que subió el usuario Software Testing Step-by-Step 30 diciembre 2017, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 374 veces y le gustó 3 a los espectadores. Disfruta viendo!