Pages

get our extension

Search program

Monday, 12 August 2013

JAVA VIRTUAL MACHINE(JVM)

JVM  is responsible for taking the .class file and converting each byte code instruction into the machine language instruction that can be executed by the microprocessor.

In JVM, there is a module(or program) called class loader sub system, which perform the following functions:

è First it loads .class file into memory.
è Then it verifies whether all byte code instructions are proper or not. If it finds any instruction suspicious, the execution is rejected immediately.

è If the byte code instructions are proper, then it allocates necessary memory to execute the program.

   What is Byte Code ?

                     Java bytecode, a middle-language between Java (user language) and the machine language uses    by the JVM. This Java bytecode is the smallest unit that deploys the Java code.

No comments:

Post a Comment