commit | 1d8de8373cfd9fd430263a56c283792744a5e3bb | [log] [tgz] |
---|---|---|
author | vinayakb <vinayakb@123451ca-8445-de46-9d55-352943316053> | Tue Jan 24 09:20:06 2012 +0000 |
committer | vinayakb <vinayakb@123451ca-8445-de46-9d55-352943316053> | Tue Jan 24 09:20:06 2012 +0000 |
tree | 219dcbcd1cd278df398e64d1adf4cdcf071566b9 | |
parent | 67e36275ef2e765b8a52f4f9f68761ca87b0df88 [diff] |
Fixed erroneous buffer compaction git-svn-id: https://hyracks.googlecode.com/svn/branches/hyracks_dev_next@1038 123451ca-8445-de46-9d55-352943316053
diff --git a/hyracks-ipc/src/main/java/edu/uci/ics/hyracks/ipc/impl/IPCHandle.java b/hyracks-ipc/src/main/java/edu/uci/ics/hyracks/ipc/impl/IPCHandle.java index f3c05c6..a01b1d9 100644 --- a/hyracks-ipc/src/main/java/edu/uci/ics/hyracks/ipc/impl/IPCHandle.java +++ b/hyracks-ipc/src/main/java/edu/uci/ics/hyracks/ipc/impl/IPCHandle.java
@@ -161,14 +161,12 @@ inBuffer.flip(); ByteBuffer readBuffer = ByteBuffer.allocate(inBuffer.capacity() * 2); readBuffer.put(inBuffer); - readBuffer.compact(); inBuffer = readBuffer; } void resizeOutBuffer() { ByteBuffer writeBuffer = ByteBuffer.allocate(outBuffer.capacity() * 2); writeBuffer.put(outBuffer); - writeBuffer.compact(); writeBuffer.flip(); outBuffer = writeBuffer; }