On Apr 30, 2006, at 10:41 PM, Trustin Lee wrote:
If heap buffers are much better choice for most cases, then we need to adjust our default allocation behavior.
I don't know if we have enough data to say which is better for most cases.. In my tests, pooled direct buffers are a win, because GC'd heap buffers put more pressure on the GC. This is with the latest 1.5 release from Sun, server JVM. I have not yet tried JRockit.
If we change the default buffer type to 'heap', we'll also have to changethe default allocator to SimpleByteBufferAllocator. WDYT?
I think that would be good when heap buffers are used. -pete -- [EMAIL PROTECTED] - http://fotap.org/~osi
smime.p7s
Description: S/MIME cryptographic signature
