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

--- Comment #13 from Danny Lade <[email protected]> ---
> In comment #9 you wrote:
> 
> > But the queue is only accessed two times 1) at the initializing for each
> > thread (see statisticalMapSelector) and 2) at the testEnded() method.
>  
> One thread initialises the queue, another processes it.
> 
No, the same thread does this. 

Main: create SampleSender, therefore create queue
Main: start threads
Thread 1: append map to queue
Thread 1: add sample data to own map
...
Thread N: append map to queue
Thread 1: add sample data to own map
...
Thread N: add sample data to own map
Main: all threads ended
Main: call testEnded(), therefore read queue and send sample data

> > As I already mentioned, the solution we've made works quite well in our high
> > load scenarios - believe me.
> 
> Unfortunately that does not prove anything.
>
No it doesn't, but it also sounds like 'Don't trust anyone' to me. 

So, how to prove? What do you have in mind?

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

Reply via email to