StaticFrameInGlobals
DRAFT

Incorrect

Stack frame of static method calls lives in the global memory area

Correct

Correction
Here is what's right.

A static method still gets a completely normal stack frame (activation record) on the call stack.

The only difference between a static and an instance method call is that the latter gets a this variable, while the former does not.

Language

Java
Notional Machine
StackHeapGlobalDiagram

Concepts

Expressible In

Stay up-to-date

Follow us on  twitter to hear about new misconceptions.