]
Tom Jenkinson updated JBTM-1340:
--------------------------------
Fix Version/s: 5.next
(was: 5.2.4.Final)
BeanPopulator overhead needs looking into
-----------------------------------------
Key: JBTM-1340
URL:
https://issues.jboss.org/browse/JBTM-1340
Project: JBoss Transaction Manager
Issue Type: Enhancement
Components: Common
Affects Versions: 4.17.2
Environment: Mac OS 10.7
Reporter: Mark Little
Assignee: Tom Jenkinson
Fix For: 5.next
During profiling, BeanPopulator can represent a 7% overhead. It may not seem like a lot,
but for something as relatively simple as what BeanPopulator should be doing, it seems to
be quite a bit.
6.9% - 4,477 ms - 10,000 inv. com.arjuna.ats.arjuna.coordinator.TxStats.enabled
6.9% - 4,477 ms - 10,000 inv.
com.arjuna.ats.arjuna.common.arjPropertyManager.getCoordinatorEnvironmentBean
6.9% - 4,476 ms - 10,000 inv.
com.arjuna.common.internal.util.propertyservice.BeanPopulator.getDefaultInstance
6.9% - 4,476 ms - 10,000 inv.
com.arjuna.common.internal.util.propertyservice.BeanPopulator.getNamedInstance
2.5% - 1,587 ms - 10,000 inv. java.lang.StringBuilder.<init>
2.3% - 1,507 ms - 10,000 inv. java.lang.StringBuilder.toString
0.0% - 320 µs - 10,000 inv. java.util.concurrent.ConcurrentMap.containsKey
0.0% - 61 µs - 10,000 inv. java.lang.Class.getName
0.0% - 25 µs - 10,000 inv. java.util.concurrent.ConcurrentMap.get