发明名称 METHOD AND APPARATUS FOR ELIMINATING C RECURSION FROM A JAVA PROGRAMMING LANGUAGE BYTECODE INTERPRETER
摘要 Methods and apparatus for eliminating C recursion from interpreter loops are disclosed. According to one aspect of the present invention, a computer-implemented method for substantially eliminating C recursion from the execution of static initializer methods in a virtual machine environment includes rewriting native C code associated with a static initializer as a Java programming language method, and using a transition frame in a Java programming language stack to execute the Java programming language method. The method also includes using a native method to manipulate the Java programming language stack, and using a first opcode in the transition frame. In one embodiment, using the first opcode in the transition frame includes using the first opcode to determine that the transition frame is associated with the static initializer. In another embodiment, the method further includes causing the static initializer to run, wherein the static initializer using a second opcode, and resuming execution at the second opcode after the static initializer has run.
申请公布号 US2005166185(A1) 申请公布日期 2005.07.28
申请号 US20050907698 申请日期 2005.04.12
申请人 SUN MICROSYSTEMS, INC. 发明人 PLUMMER CHRISTOPHER J.;LONG DEAN R.
分类号 G06F9/40;G06F9/45;(IPC1-7):G06F9/44 主分类号 G06F9/40
代理机构 代理人
主权项
地址