Explore using JavaFX Application Thread as carrier thread

XMLWordPrintable

    • Type: Task
    • Resolution: Unresolved
    • Priority: P3
    • None
    • Affects Version/s: None
    • Component/s: javafx

      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.

            Assignee:
            Kevin Rushforth
            Reporter:
            Kevin Rushforth
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: