Stack
A memory region containing the local variables and parameters of currently executing functions.
Related concepts: CallReturnFunctionMethod
Closest Wikipedia entry: Call stack
Misconceptions about Stack11 documented Misconceptions
Check YourselfCallWithoutFrame
A method invocation does not necessarily allocate a stack frameCallerFrameContainsCalleeFormal
Stack frame of caller includes variables for callee's formal parametersFrameIsClassInstance
A stack frame is the same as an instance of a classNoLocalVariables
There are no local variablesObjectLabeledWithConstructorSignature
In stack and heap diagrams, an object on the heap is labeled like a stack frame of a constructor callRecursiveActivationsShareFrame
Recursive calls of a method share a stack frameReferenceIntoStack
References can point into the stackReturnUnwindsMultipleFrames
A return statement can unwind multiple call stack framesStackTraceIsCallHistory
A stack trace is the sequence of previously called methodsStaticFrameInGlobals
Stack frame of static method calls lives in the global memory area