commit | 8f790d8f2908f5ce15055e8de3762ed8db2fc84a | [log] [tgz] |
---|---|---|
author | zheilbron <zheilbron@gmail.com> | Wed May 29 21:43:05 2013 -0700 |
committer | zheilbron <zheilbron@gmail.com> | Wed May 29 21:43:05 2013 -0700 |
tree | 62f413c12ea5182e4cdda132e182f2d7ee4b9197 | |
parent | c4757a2a8b9495f9dfd5919b9ef3feac30a38c1f [diff] |
prettify code in MVBC
diff --git a/hyracks/hyracks-storage-am-lsm-common/src/main/java/edu/uci/ics/hyracks/storage/am/lsm/common/impls/MultitenantVirtualBufferCache.java b/hyracks/hyracks-storage-am-lsm-common/src/main/java/edu/uci/ics/hyracks/storage/am/lsm/common/impls/MultitenantVirtualBufferCache.java index aeb2cfa..db34e28 100644 --- a/hyracks/hyracks-storage-am-lsm-common/src/main/java/edu/uci/ics/hyracks/storage/am/lsm/common/impls/MultitenantVirtualBufferCache.java +++ b/hyracks/hyracks-storage-am-lsm-common/src/main/java/edu/uci/ics/hyracks/storage/am/lsm/common/impls/MultitenantVirtualBufferCache.java
@@ -1,7 +1,5 @@ package edu.uci.ics.hyracks.storage.am.lsm.common.impls; -import java.util.concurrent.atomic.AtomicInteger; - import edu.uci.ics.hyracks.api.exceptions.HyracksDataException; import edu.uci.ics.hyracks.api.io.FileReference; import edu.uci.ics.hyracks.storage.am.lsm.common.api.IVirtualBufferCache; @@ -79,12 +77,16 @@ if (openCount == 0) { vbc.close(); } + System.out.println("Calling close with openCount = " + openCount); + Thread.dumpStack(); } @Override public synchronized void open() { - openCount++; + ++openCount; vbc.open(); + System.out.println("Calling open with openCount = " + openCount); + Thread.dumpStack(); } @Override