Uploaded image for project: 'Etch'
  1. Etch
  2. ETCH-258

Switch to using util.concurrent instead of pre Java 5 threading constructs

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: In Progress
    • Minor
    • Resolution: Unresolved
    • None
    • 1.5.0
    • binding-java, general
    • None

    Description

      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

      Attachments

        1. etch-20130301.patch
          55 kB
          Paul Turner
        2. etch-258.patch
          60 kB
          Paul Turner

        Activity

          People

            martin.veith Martin Veith
            paulturner Paul Turner
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 168h
                168h
                Remaining:
                Remaining Estimate - 168h
                168h
                Logged:
                Time Spent - Not Specified
                Not Specified