You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/01/05 18:19:02 UTC
[jira] [Commented] (ARTEMIS-1586) Reduce GC pressure due to String
allocations on Core protocol
[ https://issues.apache.org/jira/browse/ARTEMIS-1586?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16313590#comment-16313590 ]
ASF GitHub Bot commented on ARTEMIS-1586:
-----------------------------------------
GitHub user franz1981 opened a pull request:
https://github.com/apache/activemq-artemis/pull/1752
ARTEMIS-1586 Reduce GC pressure due to String allocations on Core protocol
The commit contains:
- a general purpose interner implementation
- StringValue/SimpleString internrs specializations
- TypedProperties keys/values string interning for SessionSendMessage decoding
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/franz1981/activemq-artemis decoder_interners
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/activemq-artemis/pull/1752.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1752
----
commit 2dd894c74f6dfe1e9d0579ced225a44661efcb99
Author: Francesco Nigro <ni...@...>
Date: 2018-01-04T14:22:05Z
ARTEMIS-1586 Reduce GC pressure due to String allocations on Core protocol
The commit contains:
- a general purpose interner implementation
- StringValue/SimpleString internrs specializations
- TypedProperties keys/values string interning for SessionSendMessage decoding
----
> Reduce GC pressure due to String allocations on Core protocol
> -------------------------------------------------------------
>
> Key: ARTEMIS-1586
> URL: https://issues.apache.org/jira/browse/ARTEMIS-1586
> Project: ActiveMQ Artemis
> Issue Type: Improvement
> Reporter: Francesco Nigro
> Assignee: Francesco Nigro
>
> The core protocol produce a huge amount of StringValue/SimpleString instances during CoreMessage decoding of SessionSendMessages.
> Often these instances are the same during the lifetime of a client/server connection: providing efficient interners would help to reduce the GC pressure, increasing the broker capacity/scalability.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)