发明名称 Bytecode program interpreter apparatus and method with pre-verification of data type restrictions
摘要 <p>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. &lt;IMAGE&gt;</p>
申请公布号 EP1118940(A2) 申请公布日期 2001.07.25
申请号 EP20010104659 申请日期 1995.12.19
申请人 SUN MICROSYSTEMS, INC. 发明人 GOSLING, JAMES A.
分类号 G06F1/00;G06F9/06;G06F9/445;G06F9/45;G06F11/36;G06F21/00;(IPC1-7):G06F11/36;G06F9/44;H04L29/06 主分类号 G06F1/00
代理机构 代理人
主权项
地址