[jbossts-issues] [JBoss JIRA] (JBTM-2207) Make default name null in order for quick lookup in BeanPopulator

Jesper Pedersen (JIRA) issues at jboss.org
Tue Jul 8 11:05:24 EDT 2014


    [ https://issues.jboss.org/browse/JBTM-2207?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12983184#comment-12983184 ] 

Jesper Pedersen commented on JBTM-2207:
---------------------------------------

https://github.com/jesperpedersen/narayana/commit/3d8546e4b32440d0091fad2d127d06a67d64a7c7#diff-8fe8123340e983f49259d32fe73adf50L66 generates a char[] array for each invocation, so longer runs with multiple calls this will show up in the memory view of profilers. For the default case we may as well do a lookup first, then an init if no instance is found

> Make default name null in order for quick lookup in BeanPopulator
> -----------------------------------------------------------------
>
>                 Key: JBTM-2207
>                 URL: https://issues.jboss.org/browse/JBTM-2207
>             Project: JBoss Transaction Manager
>          Issue Type: Sub-task
>      Security Level: Public(Everyone can see) 
>          Components: Transaction Core
>            Reporter: Jesper Pedersen
>            Assignee: Michael Musgrove
>




--
This message was sent by Atlassian JIRA
(v6.2.6#6264)


More information about the jbossts-issues mailing list