cz.advel.stack
Annotation Type StaticAlloc


@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).