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


Reply via email to