[jboss-jira] [JBoss JIRA] (JGRP-1745) Optimize in-memory object size

Bela Ban (JIRA) jira-events at lists.jboss.org
Fri Nov 15 10:13:06 EST 2013


Bela Ban created JGRP-1745:
------------------------------

             Summary: Optimize in-memory object size
                 Key: JGRP-1745
                 URL: https://issues.jboss.org/browse/JGRP-1745
             Project: JGroups
          Issue Type: Enhancement
            Reporter: Bela Ban
            Assignee: Bela Ban
            Priority: Minor
             Fix For: 3.5


Get the Java Object Layout tool from [1] and 
* Measure the size of objects which are frequently allocated in memory, e.g.
** Message
** Event
** Header subclasses (TpHeader, UNICAST3$Header, STABLE$Header, NakaAckHeader3)

Try to remove fields which are not absolutely needed and  / or can be moved into the superclass.
E.g.: {{NakAckHeader2.sender}} might get removed: can't we determine the sender from the message ? (Maybe not, if sender is the original sender, not the sender of the message)

[1] https://github.com/Sanne/java-object-layout

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


More information about the jboss-jira mailing list