From 4e886604bdebd097a63b9f0521748e3b40a24cf0 Mon Sep 17 00:00:00 2001 From: chegar Date: Sat, 5 Jan 2013 17:06:54 +0000 Subject: [PATCH] 8005709: Add at since tags to new FJP getCommonPoolParallelism and commonPool Reviewed-by: dl --- src/share/classes/java/util/concurrent/ForkJoinPool.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/share/classes/java/util/concurrent/ForkJoinPool.java b/src/share/classes/java/util/concurrent/ForkJoinPool.java index a8940a3dd..86bb3b59e 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; -- GitLab