[jbossts-issues] [JBoss JIRA] (JBTM-2105) TxStats.enable generates excessive GC overhead
Tom Jenkinson (JIRA)
issues at jboss.org
Wed Mar 5 06:40:33 EST 2014
[ https://issues.jboss.org/browse/JBTM-2105?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tom Jenkinson resolved JBTM-2105.
---------------------------------
Resolution: Done
> 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: 4.17.15, 5.0.1
> Reporter: Will Reichert
> Assignee: Tom Jenkinson
> Labels: performance
> Fix For: 5.0.2
>
> Original Estimate: 1 hour
> Remaining Estimate: 1 hour
>
> 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