Mapa mental
Stack and Heap
Contenido del mapa
Stack and Heap
Stack
- Contains list of active methods in an OOP.
- Thread of Execution
- Methods get added (pushed) and removed (popped) from the stack, along with their local variables.
- Operation is handled by the garbage collector.
- Active Method N
- Local variables
- main
- Active Method 2
- Local Variables
- Active Method 1
- Local Variables
- Garbage Collector
- Items no longer referenced directly or indirectly by stack are removed from heap by GC.
- Temporary
Heap
- Objects
- Instance variables
- Persistent
- String pool
- Objects
Información
- Descripción
- Mapa Mental sobre Stack and Heap, creado por karloski el 18/05/2015.
- Creado por
- karloski
- Visitas
- 2
- Valoración