Details
-
Type: Task
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 2.10.2
-
Component/s: Efficiency, sequencefeatures
-
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.
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.