commit | a28c654a6013b66d0be16edc86df2b0edd7a916f | [log] [tgz] |
---|---|---|
author | ecarm002@ucr.edu <ecarm002@ucr.edu> | Thu Sep 12 14:19:27 2013 -0700 |
committer | ecarm002@ucr.edu <ecarm002@ucr.edu> | Thu Sep 12 14:19:27 2013 -0700 |
tree | fae0fbd85d976eaf8e0da17b45cad864d3526c88 | |
parent | 418918cce29caafb798d93c05f9d25508b5305a2 [diff] |
Commented out a few lines in the MemoryManager based on feedback form the Hyracks group.
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..bd92ff9 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,10 @@ @Override public boolean allocate(long memory) { - if (this.memory.addAndGet(-memory) < 0) { - this.memory.addAndGet(memory); - return false; - } +// if (this.memory.addAndGet(-memory) < 0) { +// this.memory.addAndGet(memory); +// return false; +// } return true; }