The question means when a program is run the object, variables and class has to be loaded either on stack or heap.
Answers and Comments
Your link is broken, should be
http://java.sun.com/docs/books/jvms/second_edition/html/Overview.doc.html
http://java.sun.com/docs/books/jvms/second_edition/html/Overview.doc.html
Saved Stories
Sponsored Categories
In Java virtual machine the heap is created on virtual machine start-up. Heap storage for objects is reclaimed by an automatic storage management system (known as a garbage collector); objects are never explicitly deallocated. The Java virtual machine assumes no particular type of automatic storage management system, and the storage management technique may be chosen according to the implementor's system requirements. The heap may be of a fixed size or may be expanded as required by the computation and may be contracted if a larger heap becomes unnecessary. The memory for the heap does not need to be contiguous.
Stack:
An implementation of the Java virtual machine may use conventional stacks, colloquially called "C stacks," to support native methods, methods written in a language other than the Java programming language. Native method stacks may also be used by the implementation of an interpreter for the Java virtual machine's instruction set in a language such as C. Java virtual machine implementations that cannot load native methods and that do not themselves rely on conventional stacks need not supply native method stacks. If supplied, native method stacks are typically allocated per thread when each thread is created.
from Sun VM Spec: http://java.sun.com/docs/books/jvms/second_edition/html/Overview.doc.html
As spec metioned this is general for any JVM