[jbossts-issues] [JBoss JIRA] Updated: (JBTM-760) ThreadAction.currentAction uses Exception for branch logic
Jonathan Halliday (JIRA)
jira-events at lists.jboss.org
Thu Jul 22 09:44:39 EDT 2010
[ https://jira.jboss.org/browse/JBTM-760?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Halliday updated JBTM-760:
-----------------------------------
Assignee: Jonathan Halliday
Fix Version/s: 4.12.0
Affects Version/s: 4.11.0
> ThreadAction.currentAction uses Exception for branch logic
> ----------------------------------------------------------
>
> Key: JBTM-760
> URL: https://jira.jboss.org/browse/JBTM-760
> Project: JBoss Transaction Manager
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Transaction Core
> Affects Versions: 4.11.0, 4.6.1.CP05
> Reporter: Carlo de Wolf
> Assignee: Jonathan Halliday
> Priority: Critical
> Fix For: 4.12.0, 4.6.1.CP06
>
> Attachments: JBTM-760.patch
>
>
> Using exceptions for logic is a performance bottleneck.
> if (txs != null)
> {
> try
> {
> return (BasicAction) txs.peek();
> }
> catch (EmptyStackException e)
> {
> }
> }
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbossts-issues
mailing list