This is the mail archive of the java-discuss@sources.redhat.com mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: alloca and native code


Andrew Haley wrote:
> It would be nice if we didn't do this in embedded systems, since it
> breaks the nice property that Java aprograms have small stacks, and
> the stack is only scanned conservatively.  We ought to question if
> this is a performance win on any system.

Agreed.  GC techniques are getting very good; tricks like stack allocation don't
seem like such a good idea as they once were.

--
Jeff Sturm
jeff.sturm@appnet.com

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]