Uploaded image for project: 'Jalview'
  1. Jalview
  2. JAL-2438

Make findFeatureColour thread-safe and smarter

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.10.2
    • Labels:
      None

      Description

      FeatureRenderer.findFeatureColour is called when determining feature colours for structures or the overview window. Because it is not currently thread-safe, 'clones' of FeatureRenderer are used for this. This is fragile (see JAL-2436 for a bug resulting).

      Proposed to explore how to make the method thread-safe so that no clones are needed, only a 'read-only' view of the FeatureRenderer.

      Performance is critical here so must be preserved - and improved where possible.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              gmungoc Mungo Carstairs
              Reporter:
              gmungoc Mungo Carstairs
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: