aboutsummaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorMarcelo Vanzin <vanzin@cloudera.com>2015-11-16 17:28:11 -0800
committerMarcelo Vanzin <vanzin@cloudera.com>2015-11-16 17:28:11 -0800
commit540bf58f18328c68107d6c616ffd70f3a4640054 (patch)
treeb7f77587ef4d4aa95413f85f68a08851644bb2f6 /conf
parent1c5475f1401d2233f4c61f213d1e2c2ee9673067 (diff)
downloadspark-540bf58f18328c68107d6c616ffd70f3a4640054.tar.gz
spark-540bf58f18328c68107d6c616ffd70f3a4640054.tar.bz2
spark-540bf58f18328c68107d6c616ffd70f3a4640054.zip
[SPARK-11617][NETWORK] Fix leak in TransportFrameDecoder.
The code was using the wrong API to add data to the internal composite buffer, causing buffers to leak in certain situations. Use the right API and enhance the tests to catch memory leaks. Also, avoid reusing the composite buffers when downstream handlers keep references to them; this seems to cause a few different issues even though the ref counting code seems to be correct, so instead pay the cost of copying a few bytes when that situation happens. Author: Marcelo Vanzin <vanzin@cloudera.com> Closes #9619 from vanzin/SPARK-11617.
Diffstat (limited to 'conf')
0 files changed, 0 insertions, 0 deletions