发明授权
US06477702B1 Bytecode program interpreter apparatus and method with pre-verification of data type restrictions and object initialization 有权
字节码程序解释器设备和方法,具有数据类型限制和对象初始化的预验证

  • 专利标题: Bytecode program interpreter apparatus and method with pre-verification of data type restrictions and object initialization
  • 专利标题(中): 字节码程序解释器设备和方法,具有数据类型限制和对象初始化的预验证
  • 申请号: US09711053
    申请日: 2000-11-09
  • 公开(公告)号: US06477702B1
    公开(公告)日: 2002-11-05
  • 发明人: Frank YellinJames A. Gosling
  • 申请人: Frank YellinJames A. Gosling
  • 主分类号: G06F945
  • IPC分类号: G06F945
Bytecode program interpreter apparatus and method with pre-verification of data type restrictions and object initialization
摘要:
A program interpreter for computer programs written in a bytecode language, which uses a restricted set of data type specific bytecodes. The interpreter, prior to executing any bytecode program, executes a bytecode program verifier procedure that verifies the integrity of a specified program by identifying any bytecode instruction that would process data of the wrong type for such a bytecode and any bytecode instruction sequences in the specified program that would cause underflow or overflow of the operand stack. If the program verifier finds any instructions that violate predefined stack usage and data type usage restrictions, execution of the program by the interpreter is prevented. After pre-processing of the program by the verifier, if no program faults were found, the interpreter executes the program without performing operand stack overflow and underflow checks and without performing data type checks on operands stored in operand stack. As a result, program execution speed is greatly improved.
信息查询
0/0