Patent · US Expired

Process and system for Java virtual method invocation

US6507946B2 · kind B2 · utility

37Cited by
15References
17Claims
0Family size

Assignee

Inventors

Key dates

Filing dateJun 11, 1999
Grant dateJan 14, 2003
Priority date
Expiry dateJun 11, 2019

Classification

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

Abstract

A process and system for optimizing an invocation of a method is provided. A determination is made to compile a calling method, and a call to a callee method is detected within the first method. The callee method may be a non-final, virtual method, and a determination may be made that the callee method has not been previously overridden. The callee method is then inlined within the first method. In addition, no conditional statements are inserted into the calling method along with the inlined method. The determination to compile and optimize these methods may be made by a just-in-time compiler, and if the methods are Java methods, then a Java just-in-time compiler performs the optimization process. If a determination is made to load a class that contains a method that overrides the callee method, then the calling method is recompiled or patched.

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