[
https://issues.jboss.org/browse/JBTM-2105?page=com.atlassian.jira.plugin....
]
Tom Jenkinson updated JBTM-2105:
--------------------------------
Fix Version/s: 5.0.2
(was: 4.17.15)
(was: 4.17.18)
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