You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by cl...@apache.org on 2017/02/27 19:23:40 UTC
[1/2] activemq-artemis git commit: This closes #1053
Repository: activemq-artemis
Updated Branches:
refs/heads/master 45e58c08d -> 52d25431f
This closes #1053
Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/52d25431
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/52d25431
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/52d25431
Branch: refs/heads/master
Commit: 52d25431f20295d56206221c0a0429c86b8731cb
Parents: 45e58c0 dc40f60
Author: Clebert Suconic <cl...@apache.org>
Authored: Mon Feb 27 14:23:29 2017 -0500
Committer: Clebert Suconic <cl...@apache.org>
Committed: Mon Feb 27 14:23:29 2017 -0500
----------------------------------------------------------------------
.../java/org/apache/activemq/artemis/api/core/ActiveMQBuffers.java | 2 +-
.../core/remoting/impl/netty/PartialPooledByteBufAllocator.java | 2 +-
.../amqp/client/transport/PartialPooledByteBufAllocator.java | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
[2/2] activemq-artemis git commit: ARTEMIS-1002 Use default
PooledBufferAllocator in ActiveMQBuffers
Posted by cl...@apache.org.
ARTEMIS-1002 Use default PooledBufferAllocator in ActiveMQBuffers
Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/dc40f60e
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/dc40f60e
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/dc40f60e
Branch: refs/heads/master
Commit: dc40f60e6bce0baedf2eb5e777f820b8a7ee7f92
Parents: 45e58c0
Author: Martyn Taylor <mt...@redhat.com>
Authored: Mon Feb 27 12:48:39 2017 +0000
Committer: Clebert Suconic <cl...@apache.org>
Committed: Mon Feb 27 14:23:29 2017 -0500
----------------------------------------------------------------------
.../java/org/apache/activemq/artemis/api/core/ActiveMQBuffers.java | 2 +-
.../core/remoting/impl/netty/PartialPooledByteBufAllocator.java | 2 +-
.../amqp/client/transport/PartialPooledByteBufAllocator.java | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/dc40f60e/artemis-commons/src/main/java/org/apache/activemq/artemis/api/core/ActiveMQBuffers.java
----------------------------------------------------------------------
diff --git a/artemis-commons/src/main/java/org/apache/activemq/artemis/api/core/ActiveMQBuffers.java b/artemis-commons/src/main/java/org/apache/activemq/artemis/api/core/ActiveMQBuffers.java
index 849c921..32f9279 100644
--- a/artemis-commons/src/main/java/org/apache/activemq/artemis/api/core/ActiveMQBuffers.java
+++ b/artemis-commons/src/main/java/org/apache/activemq/artemis/api/core/ActiveMQBuffers.java
@@ -28,7 +28,7 @@ import org.apache.activemq.artemis.core.buffers.impl.ChannelBufferWrapper;
public final class ActiveMQBuffers {
- private static final PooledByteBufAllocator ALLOCATOR = new PooledByteBufAllocator();
+ private static final PooledByteBufAllocator ALLOCATOR = PooledByteBufAllocator.DEFAULT;
/**
* Creates a <em>self-expanding</em> ActiveMQBuffer with the given initial size
http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/dc40f60e/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/remoting/impl/netty/PartialPooledByteBufAllocator.java
----------------------------------------------------------------------
diff --git a/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/remoting/impl/netty/PartialPooledByteBufAllocator.java b/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/remoting/impl/netty/PartialPooledByteBufAllocator.java
index d6b9251..5e67952 100644
--- a/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/remoting/impl/netty/PartialPooledByteBufAllocator.java
+++ b/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/remoting/impl/netty/PartialPooledByteBufAllocator.java
@@ -28,7 +28,7 @@ import io.netty.buffer.UnpooledByteBufAllocator;
*/
public class PartialPooledByteBufAllocator implements ByteBufAllocator {
- private static final ByteBufAllocator POOLED = new PooledByteBufAllocator(false);
+ private static final ByteBufAllocator POOLED = PooledByteBufAllocator.DEFAULT;
private static final ByteBufAllocator UNPOOLED = new UnpooledByteBufAllocator(false);
public static final PartialPooledByteBufAllocator INSTANCE = new PartialPooledByteBufAllocator();
http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/dc40f60e/tests/artemis-test-support/src/main/java/org/apache/activemq/transport/amqp/client/transport/PartialPooledByteBufAllocator.java
----------------------------------------------------------------------
diff --git a/tests/artemis-test-support/src/main/java/org/apache/activemq/transport/amqp/client/transport/PartialPooledByteBufAllocator.java b/tests/artemis-test-support/src/main/java/org/apache/activemq/transport/amqp/client/transport/PartialPooledByteBufAllocator.java
index 988e501..12f5568 100644
--- a/tests/artemis-test-support/src/main/java/org/apache/activemq/transport/amqp/client/transport/PartialPooledByteBufAllocator.java
+++ b/tests/artemis-test-support/src/main/java/org/apache/activemq/transport/amqp/client/transport/PartialPooledByteBufAllocator.java
@@ -28,7 +28,7 @@ import io.netty.buffer.UnpooledByteBufAllocator;
*/
public class PartialPooledByteBufAllocator implements ByteBufAllocator {
- private static final ByteBufAllocator POOLED = new PooledByteBufAllocator(false);
+ private static final ByteBufAllocator POOLED = PooledByteBufAllocator.DEFAULT;
private static final ByteBufAllocator UNPOOLED = new UnpooledByteBufAllocator(false);
public static final PartialPooledByteBufAllocator INSTANCE = new PartialPooledByteBufAllocator();