Patent · US Expired

System and method for automatically and selectively promoting object variables to method fields and variables in a digital computer system

US6308315A · kind A · utility

33Cited by
18References
21Claims
0Family size

Assignee

Inventors

Key dates

Filing dateOct 14, 1998
Grant dateOct 23, 2001
Priority date
Expiry dateOct 14, 2018

Classification

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

Abstract

A code generating system generates, from code in a program, native code that is executable by a computer system. The computer system includes a memory subsystem including a heap in which objects are stored and a stack in which method variables are stored. The code generating system may be included in a just-in-time compiler used to generate native code that is executable by a computer system, from a program in Java Byte Code form, and specifically determines, in response to Java Byte Code representative of an operator for enabling instantiation of a new object, whether the object to be instantiated contains a variable to be used in processing of the received program code portion which can be promoted to a method variable, and, if so, generates native code to enable said variable to be instantiated on the stack.

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