[infinispan-dev] Adaptive marshaller buffer sizes - ISPN-1102

Tristan Tarrant tristan.tarrant at gmail.com
Thu Jun 9 23:48:18 EDT 2011


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 <sanne at 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.


More information about the infinispan-dev mailing list