Re: [kaffe] Allocating objects in the stack

2003-06-19 Thread Jim Pick
Nice work. What do people think of this? I guess one problem might be that Kaffe's stack is already under pretty heavy pressure, because it's used to store the Java stack as well. If we use it to store objects as well, we might have to increase the default stack size. Cheers, - Jim On Tue,

[kaffe] Allocating objects in the stack

2003-06-18 Thread Heikki Linnakangas
Hello, I've been pondering for some time if it was possible to allocate some objects in the stack insted of the heap. Stack allocation is faster, stack doesn't need to be garbage collected, and it keeps the memory footprint smaller. Last weekend I decided to look into the problem. I figured that