[jboss-jira] [JBoss JIRA] (WFLY-5766) ManagedExecutorService's max-threads attribute is not honored if an unbounded queue is used
Jan Martiska (JIRA)
issues at jboss.org
Tue Jan 12 01:54:00 EST 2016
[ https://issues.jboss.org/browse/WFLY-5766?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13147268#comment-13147268 ]
Jan Martiska commented on WFLY-5766:
------------------------------------
Per discussion on JBEAP-2123 this is not actually a bug, but we should update the description of max-threads attribute to be clearer about this.
> ManagedExecutorService's max-threads attribute is not honored if an unbounded queue is used
> -------------------------------------------------------------------------------------------
>
> Key: WFLY-5766
> URL: https://issues.jboss.org/browse/WFLY-5766
> Project: WildFly
> Issue Type: Bug
> Components: EE
> Affects Versions: 10.0.0.CR4
> Reporter: Jan Martiska
> Assignee: James Perkins
>
> If you set a max-threads attribute to a managed-executor-service and the number is higher than core-threads, and its queue is unbounded (queue-length is undefined), it won't use any more threads than the number from core-threads.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list