THRIFT-1190. java: readBufferBytesAllocated in TNonblockingServer.java should be...
authorBryan Duxbury <bryanduxbury@apache.org>
Wed, 1 Jun 2011 17:19:57 +0000 (17:19 +0000)
committerBryan Duxbury <bryanduxbury@apache.org>
Wed, 1 Jun 2011 17:19:57 +0000 (17:19 +0000)
commit5075a196770acda37ad75c23913f3d49973db35a
tree155c8370b3d7639a933d450cf89ff86a70157f99
parentbb09f4442a783d9e9d8d46501b9e2f40ecf6e4ae
THRIFT-1190. java: readBufferBytesAllocated in TNonblockingServer.java should be AtomicLong to fix FD leakage and general server malfunction

There was a race condition in the use of the memory limiting feature that would lead to memory loss.

Patch: Tom May

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1130231 13f79535-47bb-0310-9956-ffa450edef68
lib/java/src/org/apache/thrift/server/TNonblockingServer.java