public interface EscapeAnalysis
Modifier and Type | Method and Description |
---|---|
boolean |
mayEscapeMethod(AnyNewExpr n)
Returns true if objects allocated at n may continue to be live
after the method in which they are allocated returns.
|
boolean |
mayEscapeMethod(Context c,
AnyNewExpr n)
Returns true if objects allocated at n in context c may
continue to be live after the method in which they are allocated
returns.
|
boolean |
mayEscapeThread(AnyNewExpr n)
Returns true if objects allocated at n may be accessed in
a thread other than the thread in which they were allocated.
|
boolean |
mayEscapeThread(Context c,
AnyNewExpr n)
Returns true if objects allocated at n in context c may be
accessed in a thread other than the thread in which they
were allocated.
|
boolean mayEscapeMethod(AnyNewExpr n)
boolean mayEscapeMethod(Context c, AnyNewExpr n)
boolean mayEscapeThread(AnyNewExpr n)
boolean mayEscapeThread(Context c, AnyNewExpr n)