Patent · US Expired

Apparatus and method for avoiding deadlocks in a multithreaded environment

US6883165B1 · kind B1 · utility

16Cited by
75References
18Claims
0Family size

Assignee

Inventors

Key dates

Filing dateSep 28, 2000
Grant dateApr 19, 2005
Priority date
Expiry dateAug 20, 2022

Classification

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

Abstract

An apparatus and method for avoiding deadlocks in a multithreaded environment is provided. The apparatus and method provide a mechanism by which multiple threads are allowed to call a method virtually simultaneously without experiencing the problems regarding multiple compilations of the same method or a lock being held by one thread while other threads wait on the lock. With the apparatus and method, the first thread to call a method is the thread that causes the method to be compiled. Subsequent calls to the method, during a period of time in which the method is being compiled, are redirected to the JVM interpreter, thereby avoiding any deadlock situation.

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