Sunday, November 17, 2013

JVM

It has a stack based architecture without registers.  This allow 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: