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

Async API Seems to Have a Fixed Thread Pool of 8

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • None
    • fx1.2.1
    • javafx

      I can create and start() 8 JavaTaskBase+RunnableFuture's. The 9th onwards won't start() until one of the current 8 running Async JavaTaskBase+RunnableFuture's stop's. This fixed size pool is very restrictive and can't be controlled. It seems like I must by-pass the Async API and use the Java Concurrent API and ALWAYS CAREFULLY use deferAction() to update the EDT (GUI) thread.

      Good workaround's, advice or future improvement would be greatly appreciated.

      Thanks!

            aarorajfx Akhil Arora (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: