stackminne
Stackminne, or stack memory, is the region of a program’s address space used to store activation records for function calls. Each time a function is invoked, a new stack frame is created containing the return address, saved registers, function parameters, and local automatic variables. Frames are pushed onto the stack on entry and popped on return, following a last-in, first-out (LIFO) discipline.
In most systems the stack is per thread and grows in a direction determined by the architecture;
Stack size is finite and can be exhausted. Large or deeply nested local allocations, heavy use of
Contents of a stack frame commonly include the return address, saved callee-saved registers, function parameters that