<AWT Dev> [11][JDK-8152974] AWT hang occurs when sequenced events arrive out of sequence

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Thu Feb 15 22:30:03 UTC 2018


Hi, Krishna.
Can you please provide more details why the test hang, it post two 
SequencedEvents out of order, the first waits when the second will be 
dispatched, why it hangs forever?

On 15/02/2018 04:16, Krishna Addepalli wrote:
> Hi All,
> 
> Please review a fix for  JDK-8152974: 
> https://bugs.openjdk.java.net/browse/JDK-8152974
> 
> Webrev: http://cr.openjdk.java.net/~kaddepalli/8152974/webrev00/
> 
> The problem is when the events arrive out of sequence, the sequenced 
> event’s dispatch loop assumes that the sequenced events are pushed into 
> the queue together, which may not be the case, and this blocks the event 
> queue. The fix is to continue to process all the events, which 
> ultimately leads to the processing of the SequencedEvents in their order 
> of creation.
> 
> Thanks,
> 
> Krishna
> 


-- 
Best regards, Sergey.


More information about the awt-dev mailing list