commit | 58fcacec1a034e6895fca0be39a71345ec478bc9 | [log] [tgz] |
---|---|---|
author | JArod <jarodwen@gmail.com> | Tue Aug 27 11:28:27 2013 -0700 |
committer | JArod <jarodwen@gmail.com> | Tue Aug 27 11:28:27 2013 -0700 |
tree | d4f52204a58a0699a52e8b1b8a69c3bf237d81d8 | |
parent | f2d5c2c7858ff9137fb15b37b9954e30c38e7aec [diff] |
disable the memory manager counter
diff --git a/hyracks/hyracks-control/hyracks-control-nc/src/main/java/edu/uci/ics/hyracks/control/nc/resources/memory/MemoryManager.java b/hyracks/hyracks-control/hyracks-control-nc/src/main/java/edu/uci/ics/hyracks/control/nc/resources/memory/MemoryManager.java index 8add260..4829173 100644 --- a/hyracks/hyracks-control/hyracks-control-nc/src/main/java/edu/uci/ics/hyracks/control/nc/resources/memory/MemoryManager.java +++ b/hyracks/hyracks-control/hyracks-control-nc/src/main/java/edu/uci/ics/hyracks/control/nc/resources/memory/MemoryManager.java
@@ -26,10 +26,11 @@ @Override public boolean allocate(long memory) { - if (this.memory.addAndGet(-memory) < 0) { - this.memory.addAndGet(memory); - return false; - } + // commented as now the deallocation is not implemented yet. + // if (this.memory.addAndGet(-memory) < 0) { + // this.memory.addAndGet(memory); + // return false; + // } return true; }