RFR: 8273485: Deadlock when also using Swing and exiting Fullscreen on Mac

Florian Kirmaier fkirmaier at openjdk.java.net
Thu Sep 9 07:58:05 UTC 2021


On Wed, 8 Sep 2021 10:37:40 GMT, Florian Kirmaier <fkirmaier at openjdk.org> wrote:

> When using Swing it's possible to generate a Deadlock.
>  It's related to the nested eventloop started in enterFullScreenExitingLoop - and the RenderLock aquired when using setView in Scene.
>  Sample Programm and Threaddump are added to the ticket.
> 
> Removing the nested loop fixes the Problem. 
> I hope this doesn't have any side effect - so far i don't know of any.

Thank you for the feedback - I will start writing an unit test for it because it will help on all further development regarding this issue.

-------------

PR: https://git.openjdk.java.net/jfx/pull/622


More information about the openjfx-dev mailing list