[jbossts-issues] [JBoss JIRA] (JBTM-831) performance tweaks

Michael Musgrove (Jira) issues at jboss.org
Wed Mar 18 09:02:08 EDT 2020


     [ https://issues.redhat.com/browse/JBTM-831?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Musgrove closed JBTM-831.
---------------------------------
    Resolution: Out of Date


The items on this issue have already been fixed so I am closing as out of date:

BeanPopulator.java: Class.getCanonicalName() is a) expensive and b) not cached. Use getName() instead, as bean lookup is frequent in places e.g. for isStatisticsEnabled.

# BeanPopulator has already been changed to use getName()
# Override equals/hashCode for ReaperElement, as we can outperform the defaults has already been changed (nb hashCode is implemented as_control.get_uid().hashCode()
# And Override hashCode on BasicAction have already been changed to use the equals and hashCode methods provided by get_uid() (which is already optimised)

> performance tweaks
> ------------------
>
>                 Key: JBTM-831
>                 URL: https://issues.redhat.com/browse/JBTM-831
>             Project: JBoss Transaction Manager
>          Issue Type: Enhancement
>          Components: Transaction Core
>            Reporter: Jonathan Halliday
>            Assignee: Mark Little
>            Priority: Minor
>
> assorted performance tweaks



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the jbossts-issues mailing list