User:Amin~enwiki

The Basic Parts of the Java Virtual Machine

Creating a Virtual Machine within our computer's memory requires building every major function of a real computer down to the very environment within which programs operate. These functions can be broken down into seven basic parts:

* A set of registers * A stack * An execution environment * A garbage-collected heap * A constant pool * A method storage area * An instruction set