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

Semyon Sadetsky semyon.sadetsky at oracle.com
Fri Feb 16 02:09:11 UTC 2018


Hi Krishna,

Unlikely this will work for several app contexts.

You need to find the root cause why the sequenced events get mixed up 
and fix it.

--Semyon


On 02/15/2018 04:16 AM, 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/ 
> <http://cr.openjdk.java.net/%7Ekaddepalli/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
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/awt-dev/attachments/20180215/a3b04c00/attachment-0001.html>


More information about the awt-dev mailing list