diff --git a/src/share/classes/java/util/concurrent/ForkJoinPool.java b/src/share/classes/java/util/concurrent/ForkJoinPool.java index a8940a3ddee0eeeaa60d8aebef898bb78f637fb7..86bb3b59ebc457981fd06d258c148f6aa39456d8 100644 --- a/src/share/classes/java/util/concurrent/ForkJoinPool.java +++ b/src/share/classes/java/util/concurrent/ForkJoinPool.java @@ -2611,6 +2611,7 @@ public class ForkJoinPool extends AbstractExecutorService { * {@link #shutdown} or {@link #shutdownNow}. * * @return the common pool instance + * @since 1.8 */ public static ForkJoinPool commonPool() { // assert commonPool != null : "static init error"; @@ -2793,6 +2794,7 @@ public class ForkJoinPool extends AbstractExecutorService { * Returns the targeted parallelism level of the common pool. * * @return the targeted parallelism level of the common pool + * @since 1.8 */ public static int getCommonPoolParallelism() { return commonPoolParallelism;