面向对象语言并行化中的调用局部化优化  

Method Invocation Localizing Optimization in Parallelizing Object-Oriented Language

在线阅读下载全文

作  者:于勐[1] 臧婉瑜[1] 谢立[1] 孙钟秀[1] 过敏意 

机构地区:[1]南京大学计算机软件新技术国家重点实验室 [2]日本会津大学计算机理工学部

出  处:《计算机学报》2002年第4期409-416,共8页Chinese Journal of Computers

基  金:国家"八六三"高技术研究发展计划项目 (863 -3 0 6-ZT0 2 -0 3 0 1)资助

摘  要:该文提出了一种将调用局部化技术应用于并行环境下面向对象语言的方法 .文中详细讨论了该技术的适用条件以及如何通过该方法减少循环中的远程过程调用开销 .该优化技术首先将循环分离成多个包含有远程调用的循环 ,再将分离后的循环分配给循环中调用对象所在的处理器 ,最后 ,化简迭代空间 ,并且用消息传递来传输数据 .这种优化在对象分布和循环并行化之后进行 ,将函数调用局部化于处理器 .通过这种优化 ,可以进一步挖掘循环中的任务并行性 ,降低计算复杂度 ,减少函数调用开销 ,尤其适合面向对象语言中对循环里小函数的优化 .该技术已经在作者设计的 Java自动并行化编译器 JAPS- II中实现 .在实验中 。This paper proposes one method for parallelizing OOL to reduce RPC cost. Authors discuss the condition for applying the new techniques and introduce how to apply they to reduce RPC cost. The optimization firstly separates one loop into multiple loops, and then distributes separated loops into different processors where the invoked object in loop is allocated. The iteration space and transports data is reduced by message passing. The optimization localizes method invocation at the processor. Through the optimization the parallelism is exploited further, the computing complexity and function call cost are reduced. The optimization is suitable for small function in OOL. It has been implemented in authors is automatic parallelizing compiler for JAVA, JAPS-II. The experiment demonstrates ultra linear speedup.

关 键 词:面向对象语言 优化 并行化 并行计算 分布式计算 并行编译 

分 类 号:TP314[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象