qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (QPIDJMS-461) JmsMessageIDBuilder::createMessageID can save StringBuilder allocations
Date Tue, 18 Jun 2019 18:38:00 GMT

    [ https://issues.apache.org/jira/browse/QPIDJMS-461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16866922#comment-16866922

ASF subversion and git services commented on QPIDJMS-461:

Commit d8a893844d8c8879b8fc2aaf89a9e8ebc1608dbb in qpid-jms's branch refs/heads/master from
Timothy Bish
[ https://gitbox.apache.org/repos/asf?p=qpid-jms.git;h=d8a8938 ]

QPIDJMS-461 Optimize the default message ID builder

Change the builtin Message ID builder to create a builder
per producer and optimize the string handling used to create
the Message ID from the producer id and sequence number.

> JmsMessageIDBuilder::createMessageID can save StringBuilder allocations
> -----------------------------------------------------------------------
>                 Key: QPIDJMS-461
>                 URL: https://issues.apache.org/jira/browse/QPIDJMS-461
>             Project: Qpid JMS
>          Issue Type: Improvement
>    Affects Versions: 0.44.0
>            Reporter: Francesco Nigro
>            Priority: Minor
>         Attachments: screenshot-1.png
> JmsMessageIDBuilder::createMessageID doesn't seem able to correctly perform escape analysis
on StringBuilder, allocating many of them.
> The intermediate StringBuilder could be saved into a thread local pool instead, saving
unnececessary allocations.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org

View raw message