On Apr 29, 2006, at 3:58 AM, Michael Bauroth wrote:
regarding the performance tests from Robert what do you think about implementing a global switch (e.g. in config) to choose between default directbuffer or heapbuffer? I've looked into the sources to make it in my overridden classes, but there are several classes (ByteBuffer, SimpleAllocator, Cumulative...) that must be overriden, so that it doesn't make sense for an individual to do so.Does it make sense to open an issue in JIRA about that?
Already done...http://svn.apache.org/viewcvs.cgi/directory/trunks/mina/core/src/main/ java/org/apache/mina/common/ByteBuffer.java? rev=398004&r1=397971&r2=398004&diff_format=h
Call ByteBuffer.setUseDirectBuffers( false ) and it will always use heap buffers. -pete -- [EMAIL PROTECTED] - http://fotap.org/~osi
smime.p7s
Description: S/MIME cryptographic signature
