Improve memory size of Events
-----------------------------

                 Key: NXP-3636
                 URL: http://jira.nuxeo.org/browse/NXP-3636
             Project: Nuxeo Enterprise Platform
          Issue Type: Improvement
          Components: Core
    Affects Versions: 5.2 GA
            Reporter: Florent Guillaume
            Assignee: Florent Guillaume
             Fix For: 5.2.1


Objects deriving from EventImpl use too much memory.
In particular, any instance of EnumSet<Flag> uses more than ~72 bytes, where a 
single it would suffice.

(The implementation of EnumSet has each instance holding a reference to a 
Flag[] that stores the "universe", which is overkill.)


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to