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.
In questa pagina del sito puoi guardare il video online JAVA Tutorial for Beginners | How Java Virtual Machine works in JAVA della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Software Testing Step-by-Step 30 dicembre 2017, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 374 volte e gli è piaciuto 3 spettatori. Buona visione!