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

Hudson commented on THRIFT-2172:
--------------------------------

SUCCESS: Integrated in Thrift #941 (See 
[https://builds.apache.org/job/Thrift/941/])
THRIFT-2172 Java compiler allocates optionals array for every struct with an 
optional field (roger: rev 5df24f7afb05fe25352f1fe5fff0206eb0103a3d)
* compiler/cpp/src/generate/t_java_generator.cc


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

Reply via email to