Tag Archives: Multi Thread

Multi Thread: Java 7 Fork/Join framework.

I executed all test classes with Java 7 (jdk 1.7) and all results obtained were consistently same or better than the results with Java 6 (JDK 1.6) pointing to a possible optimization of the concurrent package.

An important addition to the concurrent package in Java 7 is the Fork/Join. The last test will use the newly added classes just to show how it can be integrated with existing concurrent package classes. This is not a full implementation of the Fork/Join framework but just a test using the RecursiveTask and ForkJoinPool classes in conjunction with the Future class.

Continue reading Multi Thread: Java 7 Fork/Join framework.