首页 | 本学科首页   官方微博 | 高级检索  
     

基于方法调用一般化模型的并行性分析
引用本文:于勐,阳雪林,臧婉瑜,谢立,孙钟秀.基于方法调用一般化模型的并行性分析[J].计算机学报,2002,25(4):403-408.
作者姓名:于勐  阳雪林  臧婉瑜  谢立  孙钟秀
作者单位:南京大学软件新技术国家重点实验室,南京,210093,南京大学计算机科学与技术系,南京,210093
基金项目:国家“八六三”高技术研究发展计划项目(863 -3 0 6-ZT0 2 -0 3 -0 1),国家自然科学基金 (6980 3 0 0 5 )资助
摘    要:该文给出了一种考虑了面向对象语言的多态和对象引用别名问题的对象方法间并行性的分析方法,这种方法用于面向对象语言并行化中的并行性分析,文中首先给出了一般化的方法调用模型,然后基于该模型给出了表达式化简,过程和过程间分析的算法,该算法可以求出变量的定义和使用集合,由于并行性分析,该文给出的简单例子即可以将该文的和相关的工作加以区别。其技术已经在作者研制的Java并行化编译器JAPS-Ⅱ中实现。

关 键 词:并行编译  并行计算  面向对象语言  并行性分析  一般化模型
修稿时间:2000年6月9日

Parallelism Analysis Based on Generalized Method Invokation Model
YU Meng,YANG Xue,Lin,ZANG Wan,Yu,XIE Li,SUN Zhong,Xiu.Parallelism Analysis Based on Generalized Method Invokation Model[J].Chinese Journal of Computers,2002,25(4):403-408.
Authors:YU Meng  YANG Xue  Lin  ZANG Wan  Yu  XIE Li  SUN Zhong  Xiu
Abstract:Concurrent management and data distribution problems in parallel program design frustrate the construction of large scale software. In recent years, the researches to combine both parallel processing and object oriented techniques have got many result, including explicit parallel languages and automatic parallelizing compilers. Object oriented languages have many features that traditional languages have not. Java even has many new parallel facilities of modern languages. These features greatly frustrate the direct application of traditional techniques of parallelization to object oriented languages. This paper introduces a parallelism analysis method that considers the polymorphism and reference alias of object oriented languages. We firstly introduce a generalized model of method invocation. According to our generalized model we proposed an algorithm of parallelism analysis. Our algorithm includes three steps, which are variable expression reduction, intra procedure analysis and inter procedure analysis to compute define use sets. We compute the reference of function to get the possible set of objects in inter procedure analysis, which helps us to get more precise results than earlier work. In our algorithm the recursive procedure has been processed. The computing complexities of every algorithm are given in this paper. Finally, we use a simple enough example to compare our work with earlier works. JAPS II is a Java parallelizing compiler we have developed, which exploits and implements intra and inter object parallelism of serial Java programs. Its target architecture is NOW based distributed memory computer system. We have implemented the optimizations in JAPS II.
Keywords:parallelizing compil  parallel computing  object  oriented language
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号