You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by "Dirk Moebius (JIRA)" <ji...@apache.org> on 2010/05/31 16:14:41 UTC

[jira] Commented: (PIVOT-498) Revisit use of Executors.newCachedThreadPool() in Task class

    [ https://issues.apache.org/jira/browse/PIVOT-498?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12873666#action_12873666 ] 

Dirk Moebius commented on PIVOT-498:
------------------------------------

I have some time to investigate this. I've not seen this so far.
Did you get this with appletviewer, too? Or only in a real browser context?
How often does this occur?

> Revisit use of Executors.newCachedThreadPool() in Task class
> ------------------------------------------------------------
>
>                 Key: PIVOT-498
>                 URL: https://issues.apache.org/jira/browse/PIVOT-498
>             Project: Pivot
>          Issue Type: Task
>          Components: core-util
>            Reporter: Greg Brown
>             Fix For: 1.6
>
>
> There appears to be an issue with Executors.newCachedThreadPool() when running as an applet. IllegalThreadStateExceptions are thrown periodically and seemingly unpredictably. The current workaround uses a custom ExecutorService that simply dispatches requests to new threads as they are received. However, this is not optimal and a better solution should be found, if possible.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.