etch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Veith (JIRA)" <j...@apache.org>
Subject [jira] [Reopened] (ETCH-258) Switch to using util.concurrent instead of pre Java 5 threading constructs
Date Fri, 04 Apr 2014 12:02:16 GMT

     [ https://issues.apache.org/jira/browse/ETCH-258?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Martin Veith reopened ETCH-258:
-------------------------------

      Assignee: Martin Veith

> 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
>            Assignee: Martin Veith
>            Priority: Minor
>             Fix For: 1.5.0
>
>         Attachments: etch-20130301.patch, etch-258.patch
>
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> 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 was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message