Re: [9] Review Request: 8165769 Hang in the help menu item

2016-11-17 Thread Semyon Sadetsky
On 16.11.2016 20:54, Sergey Bylokhov wrote: On 16.11.16 20:25, Semyon Sadetsky wrote: The example above produce the same result as if the thread B will call dispatchEventImpl() early than addItemListener() was called by thread A. And this is correct behavior(the new events will be proceeded on

Re: [9] Review Request: 8165769 Hang in the help menu item

2016-11-17 Thread Sergey Bylokhov
On 17.11.16 11:27, Semyon Sadetsky wrote: The statement above is incorrect, there is no "cache". I do not know where you get "changed fields is guaranteed to be flushed upon exit from the synchronized block". Also there is no guarantee that the reader will see the latest version of the field if t