this should not refer to the lambda
Mark Thornton
mthornton at optrak.co.uk
Sun Feb 21 09:05:34 PST 2010
Alex Blewitt wrote:
> The # is a lot more like the Runnable than the block case; you are
> (potentially) instantiating a new "thing" (it can throw OOM) and that
> thing has reference semantics, much like an instance would. A block
> cannot throw an OOM nor does it have reference semantics.
>
If a block declares variables, is it permissable for VM to allocate
space for them on entry to the block instead of at method entry? Some
VM's dynamically resize stacks, thus potentially transforming a stack
overflow into OOM.
Mark
More information about the lambda-dev
mailing list