首页> 外文会议>Workshop on Interpreters, virtual machines and emulators >Executable JVM model for analytical reasoning
【24h】

Executable JVM model for analytical reasoning

机译:用于分析推理的可执行JVM模型

获取原文

摘要

To study the properties of the Java Virtual Machine(JVM) and Java programs, our research group has produced a series of JVM models written in a functional subset of Common Lisp. In this paper, we present our most complete JVM model from this series, namely, M6, which is derived from a careful study of the J2ME KVM [16] implementation.On the one hand, our JVM model is a conventional machine emulator. M6 models accurately almost all aspects of the KVM implementation, including the dynamic class loading, class initialization and synchronization via monitors. It executes most J2ME Java programs that do not use any I/O or floating point operations. Engineers may consider M6 an implementation of the JVM. It is implemented with around 10K lines in 20+ modules.On the other hand, M6 is a novel model that allows for analytical reasoning besides conventional testing. M6 is written in an applicative (side-effect free) subset of Common Lisp, for which we have given precise meaning in terms of axioms and inference rules. A property of M6 can be expressed as a formula. Rules of interference can be used analytically to derive properties of M6 and the Java programs that run on the model, using a mechanical theorem prover.We argue that our approach of building an executable model of the system with an axiomatically described functional language can bring benefits from both the testing and the formal reasoning worlds.
机译:为研究Java虚拟机(JVM)和Java程序的属性,我们的研究组生产了一系列以常见的LISP的功能子集编写的JVM模型。在本文中,我们从本系列介绍了最完整的JVM模型,即M6,这是从J2ME KVM [16]实现的仔细研究。一方面,我们的JVM模型是传统机器仿真器。 M6型号几乎是KVM实现的所有方面,包括动态类加载,类初始化和通过监视器同步。它执行大多数不使用任何I / O或浮点操作的J2ME Java程序。工程师可能会考虑M6的实现JVM。它以大约10k线在20+模块中实施。另一方面,M6是一种新型模型,其允许除了传统测试之外的分析推理。 M6是用常见LISP的申请(无效效应)的子集合编写的,我们在公理和推理规则方面已经给出了精确的含义。 M6的属性可以表示为公式。可以分析干扰规则可以使用机械定理箴言派生M6的属性和在模型上运行的Java程序。我们认为我们用公理描述的功能语言构建系统的可执行模型的方法可以带来好处从测试和正式推理世界。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号