Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8268180

Explore using JavaFX Application Thread as carrier thread

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: P3 P3
    • None
    • None
    • 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.

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

              Created:
              Updated: