You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Roger Meier (JIRA)" <ji...@apache.org> on 2013/11/13 22:11:20 UTC
[jira] [Resolved] (THRIFT-2172) Java compiler allocates optionals
array for every struct with an optional field
[ https://issues.apache.org/jira/browse/THRIFT-2172?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Roger Meier resolved THRIFT-2172.
---------------------------------
Resolution: Fixed
Assignee: Roger Meier
committed
thank you!
;-r
> Java compiler allocates optionals array for every struct with an optional field
> -------------------------------------------------------------------------------
>
> Key: THRIFT-2172
> URL: https://issues.apache.org/jira/browse/THRIFT-2172
> Project: Thrift
> Issue Type: Improvement
> Components: Java - Compiler
> Affects Versions: 0.9.1
> Reporter: Andrew Gaul
> Assignee: Roger Meier
> Attachments: THRIFT-2172.patch
>
>
> optionals has the same values for every instance and wastes a lot of memory when one instantiates many Thrift objects. Note that optionals is not read from or written to and could be removed.
--
This message was sent by Atlassian JIRA
(v6.1#6144)