Sure. So I think the new JVM should provide more good memory control than Hotspot. I think the escape analysis would help this.
So: 1. allocate object is mostly as quick as stack object. 2. most object will be gabage and throw away as quickly and takes no more GC cost. In this case, we may inprove the memory control and makes the JVM more effective on GC. :) it looks the Hotspot team dont believe escape analysis would help GC on the forums.java.net <http://forums.java.net> discussion. 2005/5/11, Will Pugh <[EMAIL PROTECTED]>: > > I think you would also want to pay attention to how much control you > need over memory allocation. Java doesn't give you much control over > memory, yet in many scenarios (such as start-up time or running on > devices) working set can be just as important as the actual codes > executed for performance. You would have much more control over working > set/memory if you used C/C++. > > >
