[ 
https://issues.apache.org/jira/browse/AMQCPP-548?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Timothy Bish resolved AMQCPP-548.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 3.9.0
                   3.8.4

Fix applied on trunk and 3.8.x with some additional changes.

> Too many  temporary std::string in Mutex and 
> decaf::lang::Integer::toString(int)
> --------------------------------------------------------------------------------
>
>                 Key: AMQCPP-548
>                 URL: https://issues.apache.org/jira/browse/AMQCPP-548
>             Project: ActiveMQ C++ Client
>          Issue Type: Improvement
>          Components: Decaf
>    Affects Versions: 3.8.2
>            Reporter: Jeremy Leung
>            Assignee: Timothy Bish
>             Fix For: 3.8.4, 3.9.0
>
>         Attachments: AMQCPP-548.patch
>
>
> Every Mutex will associated with a MutexProperties and the name of the Mutex 
> is actually generated by the DEFAULT_NAME_PREFIX plus a call to 
> Integer::toString( ++id ).
> From the profiling of our application (highly multi-threaded), we found that 
> many times are spent in the std::basic_string allocation and deallocation 
> inside the functions decaf::lang::Integer::toString(int) and 
> decaf::lang::Integer::toString(int, int).



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to