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


Generic operations and capabilities in the JR concurrent programming language
Authors:Hiu Ning Chan  Andrew J Gallagher  Appu S Goundan  Yi Lin William Au Yeung  Aaron W Keen  Ronald A Olsson
Affiliation:1. Department of Computer Science, University of California, Davis, CA 95616, USA;2. Computer Science Department, California Polytechnic State University, San Luis Obispo, CA 93407, USA
Abstract:The JR concurrent programming language extends Java with additional concurrency mechanisms, which are built upon JR's operations and capabilities. JR operations generalize methods in how they can be invoked and serviced. JR capabilities act as reference to operations. Recent changes to the Java language and implementation, especially generics, necessitated corresponding changes to the JR language and implementation. This paper describes the new JR language features (known as JR2) of generic operations and generic capabilities. These new features posed some interesting implementation challenges. The paper describes our initial implementation (JR21) of generic operations and capabilities, which works in many, but not all, cases. It then describes the approach our improved implementation (JR24) uses to fully implement generic operations and capabilities. The paper also describes the benchmarks used to assess the compilation and execution time performances of JR21 and JR24. The JR24 implementation reduces compilation times, mainly due to reducing the number of files generated during JR program translation, without noticeably impacting execution times.
Keywords:
本文献已被 ScienceDirect 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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