Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-4282

TransactionUtil performance optimisations

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Trunk
    • Fix Version/s: Trunk
    • Component/s: framework
    • Labels:

      Description

      Hello,
      Reviewing TransactionUtil code, I have seen 2 problems:

      • internalBegin is uselessly synchronized , since it is a static method it is a very big useless Contention Point since not unthread safe instance variable is used
      • debugResources is true which creates a DebugXAResource (that creates an Exception) , it should be false and made an option for debuging

      These 2 modifications have been in our production for a while and we noticed CPU reduction and no more contention on TransactionUtil#begin

      Regards
      Philippe Mouawad
      http://www.ubik-ingenierie.com

        Attachments

          Activity

            People

            • Assignee:
              jacques.le.roux Jacques Le Roux
              Reporter:
              p.mouawad@ubik-ingenierie.com Philippe Mouawad
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: