Stack Allocation Coming to Java
Brian Goetz: JVMs are surprisingly good at figuring out things that we used to assume only the developer could know. By letting the JVM choose between stack allocation and heap allocation on a case-by-case basis, we can get the performance benefits of stack allocation without making the programmer agonize over whether to allocate on the stack or on the heap.Maybe I'll hold off on jumping ship to C#. ;)
2 Comments:
That link didn't work for me, but I think it was meant to point at this article.
Oops. Thanks.
Post a Comment
<< Home