Please download the dossier by clicking on the dossier button x
×

Object locking in a shared VM environment

  • US 7,035,870 B2
  • Filed: 03/07/2002
  • Issued: 04/25/2006
  • Est. Priority Date: 10/19/2001
  • Status: Active Grant
First Claim
Patent Images

1. A computer implemented method of operating a shared object on a system comprising:

  • running a plurality of execution processes on each virtual machine of multiple virtual machines (VMs), said system including at least one object which is shared between the VMs so that the at least one object is accessed from two or more VMs, and at least one non-shared object is accessed only from a single VM, wherein an object contains a lock data word which for the at least one non-shared object can contain a reference to a monitor that controls access to the at least one non-shared object,said method further comprises performing lock operations on a shared object by the steps of;

    writing a predefined value into said lock data word for the shared object;

    detecting the predefined value in the shared object which specifies that an object is shared by at least two VMs;

    responsive to said detection, utilizing a monitor to control local access to the shared object for an execution process, said monitor being on the same VM as said execution process; and

    updating a data structure only on the same VM as said execution process to associate said monitor with the shared object.

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