提交 4e886604 编写于 作者: C chegar

8005709: Add at since tags to new FJP getCommonPoolParallelism and commonPool

Reviewed-by: dl
上级 7aece775
...@@ -2611,6 +2611,7 @@ public class ForkJoinPool extends AbstractExecutorService { ...@@ -2611,6 +2611,7 @@ public class ForkJoinPool extends AbstractExecutorService {
* {@link #shutdown} or {@link #shutdownNow}. * {@link #shutdown} or {@link #shutdownNow}.
* *
* @return the common pool instance * @return the common pool instance
* @since 1.8
*/ */
public static ForkJoinPool commonPool() { public static ForkJoinPool commonPool() {
// assert commonPool != null : "static init error"; // assert commonPool != null : "static init error";
...@@ -2793,6 +2794,7 @@ public class ForkJoinPool extends AbstractExecutorService { ...@@ -2793,6 +2794,7 @@ public class ForkJoinPool extends AbstractExecutorService {
* Returns the targeted parallelism level of the common pool. * Returns the targeted parallelism level of the common pool.
* *
* @return the targeted parallelism level of the common pool * @return the targeted parallelism level of the common pool
* @since 1.8
*/ */
public static int getCommonPoolParallelism() { public static int getCommonPoolParallelism() {
return commonPoolParallelism; return commonPoolParallelism;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册