Re: memory management style

2010-03-09 Thread Christopher Laux
On Mon, Mar 8, 2010 at 7:52 PM, Michael McCandless wrote: > This was done for performance (to remove alloc/init/GC load). > > There are two parts to it -- first, consolidating what used to be lots > of little objects into shared byte[]/int[] blocks.  Second, reusing > those blocks. Thanks, just o

Re: memory management style

2010-03-08 Thread Michael McCandless
On Mon, Mar 8, 2010 at 1:18 PM, Christopher Laux wrote: > I'm not sure if this is the right list, as it's sort of a development > question too, but I don't want to bother them over there. Anyway, I'm > curious as to the reason for using "manual memory management" a la > ByteBlockPool and consorts

memory management style

2010-03-08 Thread Christopher Laux
Hi all, I'm not sure if this is the right list, as it's sort of a development question too, but I don't want to bother them over there. Anyway, I'm curious as to the reason for using "manual memory management" a la ByteBlockPool and consorts in Java. Is it for performance reasons alone, to avoid t