You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Zezeng Wang (Jira)" <ji...@apache.org> on 2020/07/06 08:40:00 UTC

[jira] [Created] (THRIFT-5247) Avoiding invalid System.copy

Zezeng Wang created THRIFT-5247:
-----------------------------------

             Summary: Avoiding invalid System.copy
                 Key: THRIFT-5247
                 URL: https://issues.apache.org/jira/browse/THRIFT-5247
             Project: Thrift
          Issue Type: Improvement
          Components: Java - Library
    Affects Versions: 0.13.0
            Reporter: Zezeng Wang


[AutoExpandingBufferReadTransport.java#54|https://github.com/apache/thrift/blob/dd0918713d8b5db0a2cf9c3bd7141c2e252bd7e4/lib/java/src/org/apache/thrift/transport/AutoExpandingBufferReadTransport.java#L54]

 When amtToRead is 0, avoid meaningless System.copy. When each frame is read completely, 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)