[ 
https://issues.apache.org/jira/browse/ARTEMIS-1586?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16317198#comment-16317198
 ] 

ASF GitHub Bot commented on ARTEMIS-1586:
-----------------------------------------

Github user michaelandrepearce commented on the issue:

    https://github.com/apache/activemq-artemis/pull/1757
  
    The RemotingConnectionImpl will hold reference to the packet decoder, until 
itself is GC'd. It will be long lived for bits like cluster connections etc on 
the server side, also it is held in maps like within RemotingServiceImpl.



> 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)

Reply via email to