发明名称 One-pass compilation of virtual instructions
摘要 In embodiments, prior to compilation into machine code, a preprocessor generates directives by processing a source code and/or bytecode representation of a program and/or selecting default directives. The preprocessor embeds the directives in a bytecode representation of the program or a separate stream associated with the bytecode representation of the program. A just-in-time compiler may compile the bytecode representation into machine code directed by the embedded directives in one pass and/or a bytecode interpreter may interpret the bytecode representation of the program. In some embodiments, a computing device generates bytecodes during execution of a program, selects default directives, and embeds the default directives in the bytecodes or a separate stream associated with the bytecodes prior to compilation of the bytecodes into machine code. Subsequently, the bytecodes may be compiled into machine code with a just-in-time compiler directed by the embedded default directives in one pass and/or interpreted with an interpreter.
申请公布号 US8561040(B2) 申请公布日期 2013.10.15
申请号 US20090401455 申请日期 2009.03.10
申请人 ROSE JOHN ROBERT;ORACLE AMERICA, INC. 发明人 ROSE JOHN ROBERT
分类号 G06F9/45 主分类号 G06F9/45
代理机构 代理人
主权项
地址