etch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Turner (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ETCH-258) Switch to using util.concurrent instead of pre Java 5 threading constructs
Date Thu, 14 Feb 2013 21:21:13 GMT
Paul Turner created ETCH-258:
--------------------------------

             Summary: Switch to using util.concurrent instead of pre Java 5 threading constructs
                 Key: ETCH-258
                 URL: https://issues.apache.org/jira/browse/ETCH-258
             Project: Etch
          Issue Type: Improvement
          Components: binding-java, general
            Reporter: Paul Turner
            Priority: Minor
             Fix For: 1.4


thread creation is quite expensive and so a new thread per unit of work is also expensive,
i propose to use util.concurrent threadpools in the java binding sub-project and enhance unit
tests e.g. with countdown latches to ensure competing test threads start simeltanously and
semaphore to throttle access to running units of work.

affects FreePool, TodoManager and associated tests and possibly more classes

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message