[ https://issues.apache.org/jira/browse/THRIFT-3432?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15019200#comment-15019200 ]
ASF GitHub Bot commented on THRIFT-3432: ---------------------------------------- Github user thomaslee commented on the pull request: https://github.com/apache/thrift/pull/705#issuecomment-158567751 hm afaict that build failure is unrelated to my change: https://s3.amazonaws.com/archive.travis-ci.org/jobs/92019024/log.txt Failure is: ``` clang++ -DHAVE_CONFIG_H -I. -I../.. -I../../lib/cpp/src/thrift -I/usr/include -I../../lib/cpp/src -Igen-cpp -Wall -Wextra -pedantic -g -O2 -std=c++11 -MT src/TestClient.o -MD -MP -MF $depbase.Tpo -c -o src/TestClient.o src/TestClient.cpp &&\ mv -f $depbase.Tpo $depbase.Po clang: error: unable to execute command: Killed clang: error: clang frontend command failed due to signal (use -v to see invocation) clang version 3.4 (tags/RELEASE_34/final) Target: x86_64-unknown-linux-gnu Thread model: posix clang: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script. depbase=`echo src/StressTest.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ clang++ -DHAVE_CONFIG_H -I. -I../.. -I../../lib/cpp/src/thrift -I/usr/include -I../../lib/cpp/src -Igen-cpp -Wall -Wextra -pedantic -g -O2 -std=c++11 -MT src/StressTest.o -MD -MP -MF $depbase.Tpo -c -o src/StressTest.o src/StressTest.cpp &&\ mv -f $depbase.Tpo $depbase.Po ``` > Add a TByteBuffer transport to the Java library > ----------------------------------------------- > > Key: THRIFT-3432 > URL: https://issues.apache.org/jira/browse/THRIFT-3432 > Project: Thrift > Issue Type: Improvement > Components: Java - Library > Affects Versions: 0.9.3 > Reporter: Tom Lee > Priority: Minor > > A bounded alternative to TMemoryBuffer that uses java.nio.ByteBuffer under > the hood. > This is useful both to set sane constraints on maximum message size in a > transport-agnostic manner but also because direct buffers can be used to > serialize Thrift off-heap, avoiding allocations (thus reducing GC frequency > and potentially live set size) -- This message was sent by Atlassian JIRA (v6.3.4#6332)