Sunday, February 23, 2014

JVM Architecture

It has a stack based architecture without registers.  This allows JVM to run the same code regardless of underlining hardware.  Real hardware machines differs in number and size of registers and how they relate to memory.  The only register like structure is the program counter.  Result of method call is returned on stack.

No comments: