Mike Rettig created THRIFT-4293:
-----------------------------------

             Summary: Reuse Mutable TField on read
                 Key: THRIFT-4293
                 URL: https://issues.apache.org/jira/browse/THRIFT-4293
             Project: Thrift
          Issue Type: Improvement
          Components: Java - Compiler, Java - Library
    Affects Versions: 0.12.0
            Reporter: Mike Rettig


The struct 'read' method allocates a TField object on each readFieldBegin(). 
This adds up to a lot of garbage. The patch creates and reuses a mutable TField 
object for reading. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to