[jbossts-issues] [JBoss JIRA] (JBTM-2105) TxStats.enable generates excessive GC overhead

Will Reichert (JIRA) issues at jboss.org
Thu Feb 27 09:25:49 EST 2014


Will Reichert created JBTM-2105:
-----------------------------------

             Summary: TxStats.enable generates excessive GC overhead
                 Key: JBTM-2105
                 URL: https://issues.jboss.org/browse/JBTM-2105
             Project: JBoss Transaction Manager
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Transaction Core
    Affects Versions: 5.0.1.Final, 4.17.15
            Reporter: Will Reichert
            Assignee: Tom Jenkinson
             Fix For: 4.17.18, 4.17.15


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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbossts-issues mailing list