pivot-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Greg Brown (JIRA)" <j...@apache.org>
Subject [jira] Commented: (PIVOT-498) Revisit use of Executors.newCachedThreadPool() in Task class
Date Tue, 01 Jun 2010 12:05:37 GMT

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

Greg Brown commented on PIVOT-498:
----------------------------------

I definitely saw this behavior in OS X, and I believe I saw it in Windows as well (should
have documented the issue better). Java version was most likely J6u20 but may have been J6u17
on OS X.

I'm guessing that you won't see the problem in Applet Viewer, since that runs as a desktop
app rather than an actual browser plugin. The strange thing is that it doesn't happen right
away, but once it starts, it happens consistently.



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


Mime
View raw message