drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jacq...@apache.org
Subject [05/14] git commit: DRILL-750: Use a singleton PooledByteBufAllocatorL instance for all TopLevelAllocator instances
Date Thu, 15 May 2014 20:05:37 GMT
DRILL-750: Use a singleton PooledByteBufAllocatorL instance for all TopLevelAllocator instances


Project: http://git-wip-us.apache.org/repos/asf/incubator-drill/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-drill/commit/850f8c68
Tree: http://git-wip-us.apache.org/repos/asf/incubator-drill/tree/850f8c68
Diff: http://git-wip-us.apache.org/repos/asf/incubator-drill/diff/850f8c68

Branch: refs/heads/master
Commit: 850f8c68b2e3de582527cbcc46aaded96a35d2b9
Parents: a9e6a54
Author: Aditya Kishore <aditya@maprtech.com>
Authored: Wed May 14 19:22:01 2014 -0700
Committer: Aditya Kishore <aditya@maprtech.com>
Committed: Wed May 14 19:22:01 2014 -0700

----------------------------------------------------------------------
 .../main/java/org/apache/drill/exec/memory/TopLevelAllocator.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/850f8c68/exec/java-exec/src/main/java/org/apache/drill/exec/memory/TopLevelAllocator.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/memory/TopLevelAllocator.java
b/exec/java-exec/src/main/java/org/apache/drill/exec/memory/TopLevelAllocator.java
index 0b2add2..836f593 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/memory/TopLevelAllocator.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/memory/TopLevelAllocator.java
@@ -37,7 +37,7 @@ public class TopLevelAllocator implements BufferAllocator {
 
   private static final boolean ENABLE_ACCOUNTING = AssertionUtil.isAssertionsEnabled();
   private final Set<ChildAllocator> children;
-  private final PooledByteBufAllocatorL innerAllocator = new PooledByteBufAllocatorL(true);
+  private final PooledByteBufAllocatorL innerAllocator = PooledByteBufAllocatorL.DEFAULT;
   private final Accountor acct;
 
   public TopLevelAllocator() {


Mime
View raw message