Uploaded image for project: 'JBoss Transaction Manager'
  1. JBoss Transaction Manager
  2. JBTM-2105

TxStats.enable generates excessive GC overhead

    XMLWordPrintable

Details

    Description

      TxStats.enable() calls arjPropertyManager.getCoordinatorEnvironmentBean() with each invocation which results in String concatenation to generate a HashMap key. The String concatenation generated 1.61GB of GC overhead during a 20 minute performance test. Changing TxStats to use a private static reference to the Bean decreases the GC overhead to 20KB for the same 20 minute test

      Attachments

        Issue Links

          Activity

            People

              wreicher1@redhat.com Will Reichert
              wreicher1@redhat.com Will Reichert
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 1 hour
                  1h
                  Remaining:
                  Remaining Estimate - 1 hour
                  1h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified