# | Line 2579 | Line 2579 | public class ForkJoinPool extends Abstra | |
---|---|---|
2579 | * Returns the common pool instance. | |
2580 | * | |
2581 | * @return the common pool instance | |
2582 | + | * @since 1.8 |
2583 | */ | |
2584 | public static ForkJoinPool commonPool() { | |
2585 | // assert commonPool != null : "static init error"; | |
# | Line 2761 | Line 2762 | public class ForkJoinPool extends Abstra | |
2762 | * Returns the targeted parallelism level of the common pool. | |
2763 | * | |
2764 | * @return the targeted parallelism level of the common pool | |
2765 | + | * @since 1.8 |
2766 | */ | |
2767 | public static int getCommonPoolParallelism() { | |
2768 | return commonPoolParallelism; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |