You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Andrew Gaul (JIRA)" <ji...@apache.org> on 2013/09/06 14:54:52 UTC

[jira] [Created] (THRIFT-2172) Java compiler allocates optionals array for every struct with an optional field

Andrew Gaul created THRIFT-2172:
-----------------------------------

             Summary: 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


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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira