|
From: Sheref Y. <she...@gm...> - 2007-03-14 15:00:35
|
Hi Jean-Marie, > Short of writting a real-time garbage collector, an easier endeavior would > be to provide "stack allocation" support. > You could for example base your work on Javolution (open-source) and make > sure that "new" allocations while the thread execute in a PoolContext > allocates from a local pool (Javolution being a pure java library requires > the use of an ObjectFactory for the same effect). > > Let me know what you think, The concept of object recycling is really interesting. but I think that it is not as general is GC. It is more of an optimization. I wonder how far the object recycling can be applied transparently (and more importantly: predictably) into the compilation process. This is just my initial thoughts, I'm still thinking about it, More discussions to come. Yours, Sheref Younan |