I don't know if I'm actually contributing something here or just creating noise.

Are these buffers reused over time ? If not, from a GC point of view
it would be better then not to reduce the size of the buffer just to
save a few bytes: it would mean throwing to GC a perfectly valid bit
of memory. Increasing the size is another matter.
If Infinispan is not reusing buffers, why isn't it ?

Sorry if this is out of scope.

Tristan


On Fri, Jun 10, 2011 at 00:45, Sanne Grinovero <sa...@infinispan.org> wrote:
> Actually on this thread I keep getting confused about what is the
> issue we want to solve. Initially I thought it was about allocating
> the buffer to externalize known object types, as I saw the growing
> buffer logic in the MarshalledValue so the discussion seemed
> interesting to me, but I was corrected that it's about estimating the
> receiving buffer.
_______________________________________________
infinispan-dev mailing list
infinispan-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/infinispan-dev

Reply via email to