====== Java ForkJoinPool ====== * [[https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ForkJoinPool.html|ForkJoinPool]] * [[http://www.baeldung.com/java-fork-join|Guide to the Fork/Join Framework in Java]] ===== 쓰레드 갯수 지정 ===== * 기본적으로 ''Runtime.getRuntime().availableProcessors()''값. * ''System.setProperty("java.util.concurrent.ForkJoinPool.common.parallelism", "갯수");'' 쓰레드 갯수가 아닌듯. 확인 필요. TODO ===== commonPool ===== * [[https://dzone.com/articles/be-aware-of-forkjoinpoolcommonpool|Be Aware of ForkJoinPool#commonPool() - DZone Java]] * [[https://dzone.com/articles/common-fork-join-pool-and-streams|Common Fork Join Pool and Streams - DZone Java]] ===== 참고 ===== * [[https://dzone.com/articles/jdk9s-forkjoinpool-upgrades|JDK9's ForkJoinPool Upgrades - DZone Java]] * [[http://gee.cs.oswego.edu/dl/papers/fj.pdf|]] * [[https://hamait.tistory.com/612|쓰레드풀 과 ForkJoinPool]] * [[https://homes.cs.washington.edu/~djg/teachingMaterials/grossmanSPAC_forkJoinFramework.html|Beginner's Introduction to Java's ForkJoin Framework]] * [[https://dev-milk.tistory.com/5|ForkJoinPool과 ParallelStream]]