The purpose of this article is to design and implement a performing compiler for parallelizing Java application with divide-and-conqueralgorithm. The compiler is built around Java ForkJoin framework, which is directl...
详细信息
ISBN:
(纸本)9781467352857
The purpose of this article is to design and implement a performing compiler for parallelizing Java application with divide-and-conqueralgorithm. The compiler is built around Java ForkJoin framework, which is directly integrated within Java 1.7 version and imported as archive library in Java 1.6 and 1.5 versions. This compiler tends to make easier and less error-prone the parallelization of recursive applications. Although in Java ForkJoin Framework there are two user-level performance parameters, which are the number of threads and the threshold, our compiler introduces another user-level performance parameter which is the MaxDepth corresponding to the maximum of depth after which, only sequential execution is enforced. This allows balancing between fine-grain and coarse-grain parallelisms. Experimental results are presented and discussed.
暂无评论