首页> 外国专利> Mixed-mode execution for object-oriented programming languages

Mixed-mode execution for object-oriented programming languages

机译:面向对象编程语言的混合模式执行

摘要

A method for mixed-mode execution in object-oriented programs is disclosed whereby certain portions of source code can be executed by a higher-level mode of execution having access to the program at its highest level of abstraction, while other portions can be executed by a lower-level mode of execution. The invention described can be applied to any object-oriented environment where the higher-level mode of execution has components that are executed by the lower-level mode of execution and where new objects can be added to a running program at the lower-level mode of execution. In a presently preferred embodiment of the present invention, a source code interpreter operates directly on portions of Java source code where detailed information about the program is required (such as debugging information, profiling information or coverage information) while a virtual machine executes compiled byte code at all other times. Interactions between the source code interpreter and the virtual machine are also described in accessing/updating of memory in the virtual machine by the source code interpreter, and transfer of control between the source code interpreter and the virtual machine.
机译:公开了一种用于面向对象程序中的混合模式执行的方法,其中源代码的某些部分可以通过可以在其最高抽象级别访问该程序的更高级别的执行模式来执行,而其他部分可以通过以下方式执行:下层执行模式。所描述的发明可以被应用于任何面向对象的环境,其中高级执行模式具有由低级执行模式执行的组件并且可以在低级模式下将新对象添加到正在运行的程序中执行。在本发明的当前优选实施例中,当虚拟机执行编译的字节码时,源代码解释器直接在需要关于程序的详细信息(例如调试信息,配置文件信息或覆盖信息)的Java源代码部分上运行。在其他所有时间。在源代码解释器访问/更新虚拟机中的内存以及源代码解释器和虚拟机之间的控制转移中,还描述了源代码解释器与虚拟机之间的交互。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号