[hornetq-commits] JBoss hornetq SVN: r8471 - trunk/src/main/org/hornetq/core/journal/impl.
do-not-reply at jboss.org
do-not-reply at jboss.org
Mon Nov 30 11:22:35 EST 2009
Author: clebert.suconic at jboss.com
Date: 2009-11-30 11:22:34 -0500 (Mon, 30 Nov 2009)
New Revision: 8471
Modified:
trunk/src/main/org/hornetq/core/journal/impl/NIOSequentialFile.java
Log:
Small tweak: There's no need to use a direct buffer on NIO/init file
Modified: trunk/src/main/org/hornetq/core/journal/impl/NIOSequentialFile.java
===================================================================
--- trunk/src/main/org/hornetq/core/journal/impl/NIOSequentialFile.java 2009-11-30 13:52:10 UTC (rev 8470)
+++ trunk/src/main/org/hornetq/core/journal/impl/NIOSequentialFile.java 2009-11-30 16:22:34 UTC (rev 8471)
@@ -102,7 +102,7 @@
public void fill(final int position, final int size, final byte fillCharacter) throws Exception
{
- ByteBuffer bb = ByteBuffer.allocateDirect(size);
+ ByteBuffer bb = ByteBuffer.allocate(size);
for (int i = 0; i < size; i++)
{
More information about the hornetq-commits
mailing list