Method and apparatus for rewriting bytecodes to minimize runtime checks
US6978448B1 · kind B1 · utility
Assignee
Inventors
Key dates
| Filing date | Apr 24, 2001 |
| Grant date | Dec 20, 2005 |
| Priority date | — |
| Expiry date | Mar 1, 2023 |
Classification
- Technology area (CPC G)Physics
- CPC primaryG06F9/4488
- WIPO fieldComputer technology
- WIPO sectorElectrical engineering
Abstract
Methods and apparatus for reducing the number of runtime checks performed during the execution of a virtual machine. According to one aspect of the present invention, a computer system includes a preloader, a compiler, and a virtual machine. The preloader is arranged to determine whether a bytecode makes an active reference to a class which requires an execution of a static initializer, and is also arranged to determine if the class has a superclass which requires the execution of the static initializer. The compiler is arranged to accept a source file generated by the preloader as input and to produce an object file, and the virtual machine is arranged to execute the object file.
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.