Skip to content

Commit 6cbd531

Browse files
committed
update readme of java8.
1 parent 595c67a commit 6cbd531

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

java8/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,9 @@ public class ProgressDemo {
6666
1. stream()
6767

6868
2. parallelStream()
69+
非线程安全的;
70+
默认线程池的数量就是处理器的数量,特殊场景下可以使用系统属性:
71+
-Djava.util.concurrent.ForkJoinPool.common.parallelism={N} 调整
6972

7073
## Lambada 表达式(链式编程)
7174

0 commit comments

Comments
 (0)