<AWT Dev> [9] Review request for 8159432: [PIT][macosx] StackOverflow in closed/java/awt/Dialog/DialogDeadlock/DialogDeadlockTest
Alexander Zvegintsev
alexander.zvegintsev at oracle.com
Mon Oct 3 15:05:42 UTC 2016
looks good to me.
--
Thanks,
Alexander.
On 24.08.2016 22:18, Semyon Sadetsky wrote:
> Hello,
>
> Please review fix for JDK9:
>
> bug: https://bugs.openjdk.java.net/browse/JDK-8159432
>
> webrev: http://cr.openjdk.java.net/~ssadetsky/8159432/webrev.00/
>
> The issue is connected to the restoring focus to the previously
> focused window when there are a lot of focus restore requests are
> coming very often (for example series of windows showing and hiding
> quickly). In this case waiting for asynchronous focus causes nested
> waiting loop, and if number of such requests is big enough the
> StackOverflowError is thrown.
>
> To avoid this the 8139218 solution is revisited to manage the focus
> restore synchronously only if it is possible and send a single
> asynchronous focus request otherwise.
>
> --Semyon
>
More information about the awt-dev
mailing list