Java virtual machine: Difference between revisions

Content deleted Content added
Hirzel (talk | contribs)
Some elaboration on main interpretation loop and JVMs on different platforms.
Hirzel (talk | contribs)
Added list of instruction groups
Line 12:
 
The JVM has a stack based architecture. Each thread has its own program counter.
 
The JVM has instructions for the following groups of tasks
* Load and store
* Arithmetic
* Type conversion
* Object Creation and Manipulation
* Operand stack management (push / pop)
* Control transfer (branching)
* Method invocation and return
* Throwing exceptions
 
 
Each particular [[operating system]] needs a JVM specifically for it. These JVMs interprete the byte code semantically the same way. But the actual implementation may be different.