[
https://issues.apache.org/jira/browse/ARTEMIS-1499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16238080#comment-16238080
]
ASF GitHub Bot commented on ARTEMIS-1499:
-----------------------------------------
Github user franz1981 commented on a diff in the pull request:
https://github.com/apache/activemq-artemis/pull/1638#discussion_r148852871
--- Diff:
artemis-commons/src/main/java/org/apache/activemq/artemis/utils/actors/ProcessorBase.java
---
@@ -111,7 +141,10 @@ public final boolean isFlushed() {
protected void task(T command) {
tasks.add(command);
- startPoller();
+ //there is no need to alert the poller if already in the event loop
--- End diff --
This is the improvement I've mentioned: I've left it here just to
understand if it is safe but I can push in another PR apart (in the future)
too, if it seems safe.
> ArtemisExecutor and ProcessorBase needs support of recursive blocking
> executions
> --------------------------------------------------------------------------------
>
> Key: ARTEMIS-1499
> URL: https://issues.apache.org/jira/browse/ARTEMIS-1499
> Project: ActiveMQ Artemis
> Issue Type: Improvement
> Reporter: Francesco Nigro
> Assignee: Francesco Nigro
> Priority: Major
>
> The (ProcessorBase and) ArtemisExecutor allows recursive executions of
> blocking tasks (FutureLatch) that block the background event loop: it would
> be optimal to support recursive executions to handle them.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)