https://issues.apache.org/bugzilla/show_bug.cgi?id=54717

--- Comment #6 from Sebb <[email protected]> ---
(In reply to Sebb from comment #5)
> (In reply to Philippe Mouawad from comment #3)
> > It does not yet do what you propose but it should improve the blocking time.
> 
> The sampleStore needs to be synchronised for both the clone() and clear()
> methods otherwise a sample can be added between the clone() and the clear().
> Or possibly the store can be updated during the clone(). In either case,
> samples can be lost if the code is not synchronised.
> 
> That's partly why the existing code is synchronised - to make sure samples
> are not lost.

Sorry, I see now that the code is still synchronised - the idea of the clone()
is presumably to decouple the sending from the extracting of the samples.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to