Method and apparatus of translating and executing native code in a virtual machine environment

Number of patents in Portfolio can not be more than 2000

United States of America Patent

PATENT NO 6282702
SERIAL NO

09134073

Stats

ATTORNEY / AGENT: (SPONSORED)

Importance

Loading Importance Indicators... loading....

Abstract

See full text

A method and apparatus of translating and executing native code in a virtual machine environment. Debugging of a virtual machine implementation is made easier through binary translation of native code, which permits greater platform independence and greater control over thread management and scheduling, and provides for identification of memory access errors in the native code. When native code is to be executed within a virtual machine environment, the native code is translated into an intermediate form. This intermediate form is processed to determine where memory access and blocking system calls occur. Validity checks are inserted into memory access calls to determine whether the portion of memory to be accessed by each call is within a permitted range. Wild pointers and other resources of memory access errors associated with the native code may thus be identified. Blocking system calls are replaced with non-blocking variants, and 'yield' operations may be inserted into system calls and loops. The revised native code incorporating memory access validity checks and non-blocking system calls is compiled or interpreted by the virtual machine to execute the routines defined by the native code. Because the revised native code does not block other threads, thread scheduling may be managed by the virtual machine rather than the underlying operating system, and cooperative scheduling may be performed.

Loading the Abstract Image... loading....

First Claim

See full text

Family

Loading Family data... loading....

Patent Owner(s)

Patent OwnerAddress
ORACLE AMERICA INC500 ORACLE PARKWAY REDWOOD SHORES CA 94065

International Classification(s)

  • [Classification Symbol]
  • [Patents Count]

Inventor(s)

Inventor Name Address # of filed Patents Total Citations
Ungar, David Palo Alto, CA 12 294

Cited Art Landscape

Load Citation

Patent Citation Ranking

Forward Cite Landscape

Load Citation