|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dellroad.jc.cgen.escape.EscapeAnalysis
Class that performs escape analysis to determine objects that may be allocated on the stack (instead of the heap).
| Method Summary | |
static void |
analyze(CompleteUnitGraph graph,
int maxAlloc)
Find allocations of non-escaping objects. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static void analyze(CompleteUnitGraph graph,
int maxAlloc)
finalize().java.lang.ref.Reference.We impose a maximum total size for all stack allocations in the method. We prioritize allocations by size (smallest first).
All allocations that may be stack allocated are tagged with
a StackAllocTag.
graph - graph computed from methodmaxAlloc - max number of bytes of stack allocated objects
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||