]
Tom Jenkinson commented on JBTM-1340:
-------------------------------------
I guess I need to look into this a bit more, but I think that should be a one-off cost?
Not that we shouldn't optimize it as L
1. there could be use cases to deploy JBTM just to run a single transaction then to
passivate somehow
2. we may want to support reloading config.
3. we may need to optimize boot time costs
But to confirm the priority, I think this should be a one-off cost per boot of the TM?
Also, please can you confirm the tool you are using to generate the profile (command line
parameters too if possible) and maybe your test case if possible.
BeanPopulator overhead needs looking into
-----------------------------------------
Key: JBTM-1340
URL:
https://issues.jboss.org/browse/JBTM-1340
Project: JBoss Transaction Manager
Issue Type: Task
Security Level: Public(Everyone can see)
Components: Common
Affects Versions: 4.17.2
Environment: Mac OS 10.7
Reporter: Mark Little
Assignee: Tom Jenkinson
Fix For: 5.0.0.Final
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
--
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: