×

METHOD AND APPARATUS FOR CONVERTING A LIGHTWEIGHT MONITOR TO A HEAVYWEIGHT MONITOR

  • US 20030097396A1
  • Filed: 12/02/1999
  • Published: 05/22/2003
  • Est. Priority Date: 12/08/1998
  • Status: Active Grant
First Claim
Patent Images

1. A computer implemented method for converting a lightweight monitor into a heavy weight monitor when a first thread attempts to execute a synchronous operation on an object associated with the lightweight monitor, the object having an object header containing the lightweight monitor, comprising:

  • determining ownership of the object;

    creating a heavyweight monitor when it is determined that the object is owned by a second thread;

    setting ownership of the heavyweight monitor to the second thread; and

    entering the heavyweight monitor by the first thread.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×