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

Florian Kirmaier fkirmaier at openjdk.java.net
Mon Sep 13 13:35:52 UTC 2021


> 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.

Florian Kirmaier has updated the pull request incrementally with one additional commit since the last revision:

  JDK-8273485
  Removed the enter/leave nested event loop logic, for mac fullscreen

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

Changes:
  - all: https://git.openjdk.java.net/jfx/pull/622/files
  - new: https://git.openjdk.java.net/jfx/pull/622/files/f302d180..417ac2fe

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jfx&pr=622&range=02
 - incr: https://webrevs.openjdk.java.net/?repo=jfx&pr=622&range=01-02

  Stats: 34 lines in 5 files changed: 0 ins; 33 del; 1 mod
  Patch: https://git.openjdk.java.net/jfx/pull/622.diff
  Fetch: git fetch https://git.openjdk.java.net/jfx pull/622/head:pull/622

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


More information about the openjfx-dev mailing list