java.lang.StackOverflowError in Lowering

Neal Gafter neal at gafter.com
Wed Jun 22 10:40:30 PDT 2011


On Wed, Jun 22, 2011 at 10:10 AM, Alessio Stalla <alessiostalla at gmail.com>wrote:

> ... In Java there's not much
> need for such a thing, since all code must be in a class anyway; and
> even if you don't want to add an extra class with a few fields, you
> can always use final Atomic* local variables. Furthermore, if you
> don't like atomic references in non-concurrent code, writing
> non-concurrent *Reference classes is trivial.
>

Or using an existing one, such as an array.

Cheers,
Neal "Troll" Gafter


More information about the lambda-dev mailing list