This task tracks exploring the implications of a custom scheduler for Loom virtual threads that uses the AWT EventQueue dispatch thread as the (single) carrier thread, e.g.
Thread.builder().virtual(EventQueue::invokeLater).task(() -> { ... }).start();
It may be that Platform.isFxApplicationThread() or its usages will need to be re-examined or maybe new APIs will be needed to test if the underlying thread is the FX app thread.
This is the JavaFX equivalent of the AWT task JDK-8253546.
Thread.builder().virtual(EventQueue::invokeLater).task(() -> { ... }).start();
It may be that Platform.isFxApplicationThread() or its usages will need to be re-examined or maybe new APIs will be needed to test if the underlying thread is the FX app thread.
This is the JavaFX equivalent of the AWT task JDK-8253546.
- relates to
-
JDK-8253546 Explore using AWT EventQueue dispatch thread as carrier thread
- In Progress