×

Apparatus and method for avoiding deadlocks in a multithreaded environment

  • US 6,883,165 B1
  • Filed: 09/28/2000
  • Issued: 04/19/2005
  • Est. Priority Date: 09/28/2000
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method of calling a portion of computer code in a multithreaded environment, wherein the portion of computer code is a Java method having an associated method block including a field that includes a pointer that points to a Java Virtual Machine (JVM) interpreter before a Just-In-Time (JIT) compiler is loaded, points to a JIT compiler routing CompileThisMethod when the JIT compiler is loaded, and points to a routine which calls a compiled version of the method once the method is compiled by the JIT compiler, the method comprising:

  • receiving a call to the portion of computer code;

    determining if the portion of computer code is currently being compiled based on information stored in fields of the method block; and

    redirecting the call to an interpreter, if the portion of computer code is currently being compiled.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×