RFR 8005709: Add at since tags to new FJP getCommonPoolParallelism and commonPool
Chris Hegarty
chris.hegarty at oracle.com
Fri Jan 4 17:34:13 UTC 2013
Trivially, add @since 1.8 tags to the two new ForkJoinPool methods in 1.8.
diff -r 6d814b2f9112
src/share/classes/java/util/concurrent/ForkJoinPool.java
--- a/src/share/classes/java/util/concurrent/ForkJoinPool.java Fri Jan
04 11:34:17 2013 +0000
+++ b/src/share/classes/java/util/concurrent/ForkJoinPool.java Fri Jan
04 17:30:41 2013 +0000
@@ -2611,6 +2611,7 @@ public class ForkJoinPool extends Abstra
* {@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 Abstra
* 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;
-Chris.
More information about the core-libs-dev
mailing list