[ 
https://issues.apache.org/jira/browse/THRIFT-3432?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15051184#comment-15051184
 ] 

ASF GitHub Bot commented on THRIFT-3432:
----------------------------------------

Github user nsuke commented on the pull request:

    https://github.com/apache/thrift/pull/705#issuecomment-163678385
  
    @thomaslee I agree it's cleaner and refined. Will merge shortly after.



> 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)

Reply via email to