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

Small clarifications and fixes for ForkJoin

XMLWordPrintable

    • b114
    • generic
    • generic
    • Not verified

      1.Clarify that ForkJoinTask.get() ( and timed get ) on throw InterruptedException if the current thread is not a member of a ForkJoinPool and was interrupted while waiting.

      2. Propagate ThreadFactory exceptions back to the user. We can only do so sensibly if the immediate cause was in the course of creating a new thread due to an external submission. Otherwise we have to ignore.

      3. It is possible for shutdown not to transition to termination if "pool.invoke(task); pool.shutdown()" completes before all initial threads are started. Should transaition.

            chegar Chris Hegarty
            chegar Chris Hegarty
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: