[
https://issues.apache.org/jira/browse/ARTEMIS-1269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16081974#comment-16081974
]
ASF GitHub Bot commented on ARTEMIS-1269:
-----------------------------------------
Github user mtaylor commented on the issue:
https://github.com/apache/activemq-artemis/pull/1395
@clebertsuconic I have two comments on this.
Firstly, what is the goal of this patch. Is the aim to reduce the GC
overhead by reusing Runnables? If so surely this could be done in a simpler
fashion just be creating a Re-usable Runnable?
If the idea here is to "create a framework", I have to agree with Michael
that we should be looking to reuse something that already exists. There's
quite a lot of movement towards using reactive patterns which is I believe what
you are striving for here. There are a few popular frameworks/libs for Java.
Have you looked at RxJava?
> Replication Initial Synchronization won't finish sometimes
> ----------------------------------------------------------
>
> Key: ARTEMIS-1269
> URL: https://issues.apache.org/jira/browse/ARTEMIS-1269
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Affects Versions: 1.5.5, 2.1.0
> Reporter: clebert suconic
> Assignee: clebert suconic
> Fix For: 1.5.6, 2.2.0
>
>
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)