qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@apache.org
Subject svn commit: r582269 - /incubator/qpid/trunk/qpid/java/common/src/main/java/org/apache/qpidity/transport/network/mina/MinaHandler.java
Date Fri, 05 Oct 2007 13:45:32 GMT
Author: rhs
Date: Fri Oct  5 06:45:31 2007
New Revision: 582269

URL: http://svn.apache.org/viewvc?rev=582269&view=rev
Log:
disabled MINA buffer pooling

Modified:
    incubator/qpid/trunk/qpid/java/common/src/main/java/org/apache/qpidity/transport/network/mina/MinaHandler.java

Modified: incubator/qpid/trunk/qpid/java/common/src/main/java/org/apache/qpidity/transport/network/mina/MinaHandler.java
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/common/src/main/java/org/apache/qpidity/transport/network/mina/MinaHandler.java?rev=582269&r1=582268&r2=582269&view=diff
==============================================================================
--- incubator/qpid/trunk/qpid/java/common/src/main/java/org/apache/qpidity/transport/network/mina/MinaHandler.java
(original)
+++ incubator/qpid/trunk/qpid/java/common/src/main/java/org/apache/qpidity/transport/network/mina/MinaHandler.java
Fri Oct  5 06:45:31 2007
@@ -59,6 +59,11 @@
 
     private static final Logger log = Logger.get(MinaHandler.class);
 
+    static
+    {
+        ByteBuffer.setAllocator(new SimpleByteBufferAllocator());
+    }
+
     private final ConnectionDelegate delegate;
     private final InputHandler.State state;
 



Mime
View raw message