-
公开(公告)号:GB2381092A
公开(公告)日:2003-04-23
申请号:GB0125314
申请日:2001-10-19
Applicant: IBM
Abstract: A system is provided which comprises multiple Java virtual machines (VMs) . Each VM is capable of running a plurality of threads. The system includes at least one object which is shared between the VMs so that it is accessible from two or more VMs, and at least one non-shared object which is accessible only from a single VM. In order to perform a lock operation on a shared object, it is first detecting that an object is a shared object. In a preferred embodiment, this is accomplished by locating a predefined value in a particular lock data word in the object. In response to the detection, a monitor is used to control local access to the shared object for the thread that is requesting the object. The monitor is on the same VM as the requesting thread. In addition, a data structure, which may be a proxy object, is updated in order to associate the monitor with the shared object.
-
公开(公告)号:GB2365553B
公开(公告)日:2004-07-14
申请号:GB0011505
申请日:2000-05-13
Applicant: IBM
Inventor: WEBSTER MATTHEW ALEXANDER
Abstract: A virtual machine in an object-oriented system includes an interpreter. In order to provide trace information from a program about specific method calls, a user defines a selection of methods to be traced. As the program runs on the interpreter, it is determined, whether or not the method is included within the selection to be traced. For those methods included within the selection, trace information about the method call is outputted. A method block is associated with each method and is used by the interpreter to invoke the method. For each method within the user-defined selection, a flag is set within the method block associated with the method. The status of this flag is checked when the interpreter invokes a method, in order to determine whether or not the method is included within the selection.
-
公开(公告)号:GB2365553A
公开(公告)日:2002-02-20
申请号:GB0011505
申请日:2000-05-13
Applicant: IBM
Inventor: WEBSTER MATTHEW ALEXANDER
Abstract: A virtual machine in an object-oriented system includes an interpreter. In order to provide trace information from a program about specific method calls being performed by the interpreter, a user defines a selection of methods to be traced. As the program runs on the interpreter, it is determined, for each method call, whether or not the method is included within the selection to be traced. For those methods which the user has defined as to be included within said selection, trace information about the method call is output, typically to a file. In a preferred implementation, a method block is associated with each method and is used by the interpreter to invoke the method. For each method that is included within the user-defined selection, a flag is set within the method block associated with the method. The status of this flag is then checked when the interpreter invokes a method using a method block, in order to determine whether or not the method is included within the selection.
-
公开(公告)号:GB2503920A
公开(公告)日:2014-01-15
申请号:GB201212426
申请日:2012-07-12
Applicant: IBM
Inventor: WEBSTER MATTHEW ALEXANDER , BOHM FRASER , MITCHELL IAN , WAKELIN PHILIP
IPC: G06F9/54
Abstract: An application server identifies a software object to be executed and an application context which enables a service. An entry point of the object is identified and a tag identifying the context is associated with the entry point. The object is executed using the entry point and the tag. The tag may be passed directly to the object via a memory reference. Alternatively, the tag may be placed in a file referenced by the object. The object may be application software. The application context may identify objects, which provide a service. The objects may execute in a cloud computing environment.
-
公开(公告)号:GB2381092B
公开(公告)日:2005-10-19
申请号:GB0125314
申请日:2001-10-19
Applicant: IBM
Abstract: A system is provided which comprises multiple Java virtual machines (VMs). Each VM is capable of running a plurality of threads. The system includes at least one object which is shared between the VMs so that it is accessible from two or more VMs, and at least one non-shared object which is accessible only from a single VM. In order to perform a lock operation on a shared object, it is first detecting that an object is a shared object. In a preferred embodiment, this is accomplished by locating a predefined value in a particular lock data word in the object. In response to the detection, a monitor is used to control local access to the shared object for the thread that is requesting the object. The monitor is on the same VM as the requesting thread. In addition, a data structure, which may be a proxy object, is updated in order to associate the monitor with the shared object.
-
-
-
-