Uploaded image for project: 'ActiveMQ Artemis'
  1. ActiveMQ Artemis
  2. ARTEMIS-2584

Optimize PageTransactionInfoImpl in-memory size

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.10.1
    • 2.11.0
    • Broker
    • None

    Description

      The in-memory size of PageTransactionInfoImpl can be made smaller.
      For numberOfMessages and numberOfPersistentMessages, we can use native int to save object header size, i.e. 2*12=24 bytes if using Compressed oops or 2*16=32 bytes if not.

      Attachments

        Issue Links

          Activity

            People

              wy96f Wei Yang
              wy96f Wei Yang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m