Patent · US Expired

Method and apparatus for eliminating C recursion from a Java programming language bytecode interpreter

US7055133B2 · kind B2 · utility

4Cited by
9References
17Claims
0Family size

Assignee

Inventors

Key dates

Filing dateApr 12, 2005
Grant dateMay 30, 2006
Priority date
Expiry dateApr 12, 2025

Classification

  • Technology area (CPC G)Physics
  • CPC primaryG06F9/4484
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

Abstract

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.

Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.