首页> 外文OA文献 >The JVMCSP Runtime and Code Generator for ProcessJ in Java
【2h】

The JVMCSP Runtime and Code Generator for ProcessJ in Java

机译:Java中用于processJ的JVmCsp运行时和代码生成器

代理获取
本网站仅为用户提供外文OA文献查询和代理获取服务,本网站没有原文。下单后我们将采用程序或人工为您竭诚获取高质量的原文,但由于OA文献来源多样且变更频繁,仍可能出现获取不到、文献不完整或与标题不符等情况,如果获取不到我们将提供退款服务。请知悉。

摘要

The modern day advancements in multi-core technologies require programmers to use the right tools and languages to fully harness their potentials. On that front, our endeavor lies in developing a new multipro- cessing programming language. Concurrent or parallel programs can be hard to get right because of locks, monitors, mutexes, etc. One solution is using a CSP based process-oriented language. Process-oriented programming alleviates many of the problems found in thread and lock programming by proper encapsu- lation of data, explicit synchronous message passing, and the ability to verify code to be free of deadlocks and livelocks by using tools like FDR. Therefore, we have developed a new language called ProcessJ (CSP semantics and Java-like syntax) as a way to modernize languages like occam/occam-π which are outdated and only run on certain Linux distributions. ProcessJ is a multi-backend language with a compiler written in Java; and in this thesis, we focus on the JVM backend, which we call the JVMCSP; in particular, we consider code generation, the necessary runtime classes to support concurrency constructs on the JVM, and a simple cooperative non-preemptive scheduler. We also show how to translate ProcessJ source into Java source that makes use of the runtime classes that we have developed.
机译:多核技术的现代发展要求程序员使用正确的工具和语言来充分利用其潜力。在这方面,我们的努力在于开发一种新的多处理编程语言。由于锁,监视器,互斥锁等原因,并发程序或并行程序很难正确处理。一种解决方案是使用基于CSP的面向过程的语言。面向过程的编程通过适当的数据封装,显式的同步消息传递以及使用FDR之类的工具来验证代码中是否存在死锁和活锁的能力,缓解了线程和锁编程中的许多问题。因此,我们开发了一种称为ProcessJ的新语言(CSP语义和类似Java的语法),作为一种现代化的方法,例如occam /occam-π等已过时且仅在某些Linux发行版上运行的语言。 ProcessJ是一种多后端语言,带有用Java编写的编译器。在本文中,我们将重点放在JVM后端上,即JVMCSP。特别是,我们考虑代码生成,支持JVM上的并发构造的必要运行时类,以及简单的协作式非抢占式调度程序。我们还将展示如何利用已开发的运行时类将ProcessJ源代码转换为Java源代码。

著录项

  • 作者

    Shrestha Cabel Dhoj;

  • 作者单位
  • 年度 2016
  • 总页数
  • 原文格式 PDF
  • 正文语种 English
  • 中图分类

相似文献

  • 外文文献
  • 中文文献
  • 专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号