|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value=METHOD) @Retention(value=CLASS) public @interface StaticAlloc
Marks method to use static fields instead of stack allocation when instrumented in single-thread mode.
You must be careful to use it only on methods that can't re-enter itself (even on different instances), directly (eg. recursion) or indirectly (eg. by calling some other method which calls this method again, or reentrancy introduced by user when extending class).
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |