Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.1, 2.2.1.1, 2.3.0
    • Fix Version/s: 2.2.2, 2.2.1.1, 2.3.0
    • Component/s: jdbc, performance
    • Labels:
      None

      Description

      While doing some performance analysis we have found that we can reduce object allocations a number of places in the code base.

      • In JDBCStoreManager we can create a simple pool(list) of CancelPreparedStatement/CancelStatement.
      • BrokerImpl.initializeOperatingSet, use a java.util.IdentityHashMap rather than org.apache.commons.collections.map.IdentityMap.IdentityMap.

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        57m 19s 1 Rick Curtis 05/Nov/12 20:24
        Resolved Resolved Reopened Reopened
        19h 17m 1 Rick Curtis 06/Nov/12 15:42
        Reopened Reopened Resolved Resolved
        1h 38m 1 Rick Curtis 06/Nov/12 17:20
        Resolved Resolved Closed Closed
        154d 21h 30m 1 Albert Lee 10/Apr/13 15:51
        Albert Lee made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Rick Curtis made changes -
        Fix Version/s 2.2.2 [ 12323356 ]
        Fix Version/s 2.2.1 [ 12319943 ]
        Rick Curtis made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Rick Curtis added a comment -

        Committed change to use java.util.IdentityHashMap in BrokerImpl.initializeOperatingSet to reduce object allocations to trunk, 2.2.x, and 2.2.1.x

        Show
        Rick Curtis added a comment - Committed change to use java.util.IdentityHashMap in BrokerImpl.initializeOperatingSet to reduce object allocations to trunk, 2.2.x, and 2.2.1.x
        Rick Curtis made changes -
        Affects Version/s 2.2.1.0 [ 12323484 ]
        Affects Version/s 2.2.1.x [ 12323357 ]
        Fix Version/s 2.2.1.0 [ 12323484 ]
        Fix Version/s 2.2.1.x [ 12323357 ]
        Rick Curtis made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Rick Curtis made changes -
        Summary Reduce object allocations in JDBCStoreManager Reduce object allocations
        Description While doing some performance analysis we have found that we can reduce object allocations in JDBCStoreManager by creating a simple pool(list) of CancelPreparedStatement/CancelStatement. While doing some performance analysis we have found that we can reduce object allocations a number of places in the code base.
        * In JDBCStoreManager we can create a simple pool(list) of CancelPreparedStatement/CancelStatement.
        * BrokerImpl.initializeOperatingSet, use a java.util.IdentityHashMap rather than org.apache.commons.collections.map.IdentityMap.IdentityMap.
        Rick Curtis made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Rick Curtis [ curtisr7 ]
        Resolution Fixed [ 1 ]
        Hide
        Rick Curtis added a comment - - edited

        Committed code to trunk, 2.2.x, and 2.2.1.x for the JDBCStoreManager change.

        Show
        Rick Curtis added a comment - - edited Committed code to trunk, 2.2.x, and 2.2.1.x for the JDBCStoreManager change.
        Rick Curtis created issue -

          People

          • Assignee:
            Rick Curtis
            Reporter:
            Rick Curtis
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development