JAL-2438: Make findFeatureColour thread-safe and smarter
|Participant||Role||Time Spent||Comments||Latest Comment|
|Author||20m||5||I agree. I had swerved these fields as not sure what they...|
|Reviewer - Complete||57m||4||I realise this code is unchanged, but I think it actually...|
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.
Branches in review
Issues Raised From Comments