[
https://issues.apache.org/jira/browse/THRIFT-4293?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mike Rettig updated THRIFT-4293:
--------------------------------
Attachment: thrift-TMutableField-read.patch
> 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
> Labels: patch
> Attachments: thrift-TMutableField-read.patch
>
>
> 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)