Package org.dellroad.jc.cgen.escape

Classes used during escape analysis.

See:
          Description

Class Summary
EscapeAnalysis Class that performs escape analysis to determine objects that may be allocated on the stack (instead of the heap).
EscapingStmtSwitch Checks for statements where the local can escape.
EscapingValueSwitch Checks for values where the local can escape.
KnownSizeDetector Instances of this class detect 'new' expressions with a known instance size.
KnownSizeDetector.SizeTypeSwitch Computes the size in bytes of an instance of a type.
StackAllocTag Tag for stack-allocatable allocations.
 

Package org.dellroad.jc.cgen.escape Description

Classes used during escape analysis. When objects created during a method can be proven to not be referenced after that method returns, they may be allocated on the stack instead of the heap.