首页> 外国专利> The support of dynamically of standardized languages in typical assembler languages production department

The support of dynamically of standardized languages in typical assembler languages production department

机译:典型汇编语言生产部门对动态标准化语言的支持

摘要

In accordance with one embodiment of the present invention, a technique for supporting dynamically typed languages in typed assembly languages is provided. According to one embodiment, a new bytecode instruction, “invokedynamic,” supplements “invokevirtual.” Prior to the execution of a typed assembly language program, it is determined whether a particular method-invoking instruction is a particular kind of instruction. If the instruction is of the particular kind, then the verifier refrains from performing the usual pre-execution type checking of the arguments that will be on the operand stack when the instruction is executed. Consequently, the bytecode instruction may be used to represent the invocation of a method that might not indicate formal parameter types. Because the verifier performs less stringent type checking in response to such an instruction, the JVM can execute assembly language programs that were generated based on source code that was written in a dynamically typed language.
机译:根据本发明的一个实施例,提供了一种用于在键入的汇编语言中支持动态键入的语言的技术。根据一个实施例,新的字节码指令“ invokedynamic”补充了“ invokevirtual”。在执行键入的汇编语言程序之前,确定特定的方法调用指令是否为特定的指令类型。如果指令是特定种类的指令,则验证程序将拒绝执行当执行指令时将在操作数堆栈上的参数的常规预执行类型检查。因此,字节码指令可用于表示可能不表示形式参数类型的方法的调用。因为验证器响应于这样的指令执行了不太严格的类型检查,所以JVM可以执行基于以动态类型语言编写的源代码生成的汇编语言程序。

著录项

  • 公开/公告号DE602006000728T2

    专利类型

  • 公开/公告日2009-04-23

    原文格式PDF

  • 申请/专利权人

    申请/专利号DE20066000728T

  • 发明设计人

    申请日2006-03-30

  • 分类号G06F9/44;

  • 国家 DE

  • 入库时间 2022-08-21 19:08:06

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号