Stack
A memory region containing the local variables and parameters of currently executing functions.
Related concepts: CallReturnFunctionMethod
Closest Wikipedia entry: Call stack — In computer science, a call stack is a stack data structure that stores information about the active subroutines of a computer program. This type of stack is also known as an execution stack, program stack, control stack, run-time stack, or machine stack, and is often shortened to simply "the stack". Although maintenance of the call stack is important for the proper functioning of most software, the details are normally hidden and automatic in high-level programming languages.
Misconceptions about Stack11 documented Misconceptions
Check YourselfCallWithoutFrame — Java
A method invocation does not necessarily allocate a stack frameCallerFrameContainsCalleeFormal — Java
Stack frame of caller includes variables for callee's formal parametersFrameIsClassInstance — Java
A stack frame is the same as an instance of a classNoLocalVariables — Java
There are no local variablesObjectLabeledWithConstructorSignature — Java
In stack and heap diagrams, an object on the heap is labeled like a stack frame of a constructor callRecursiveActivationsShareFrame — Java
Recursive calls of a method share a stack frameReferenceIntoStack — Java
References can point into the stackReturnUnwindsMultipleFrames — Java
A return statement can unwind multiple call stack framesReturnUnwindsMultipleFrames — Python
A return statement can unwind multiple call stack framesStackTraceIsCallHistory — Java
A stack trace is the sequence of previously called methodsStaticFrameInGlobals — Java
Stack frame of static method calls lives in the global memory area