Uploaded image for project: 'JGroups'
  1. JGroups
  2. JGRP-1745

Optimize in-memory object size

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Minor Minor
    • 3.6.8
    • None
    • None

      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

              rhn-engineering-bban Bela Ban
              rhn-engineering-bban Bela Ban
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: