-
公开(公告)号:US06738977B1
公开(公告)日:2004-05-18
申请号:US09584151
申请日:2000-05-31
申请人: Robert F. Berry , Donna N. Dillenberger , Elizabeth A. Hutchison , Susan P. Paice , Donald W. Schmidt , Alan M. Webb
发明人: Robert F. Berry , Donna N. Dillenberger , Elizabeth A. Hutchison , Susan P. Paice , Donald W. Schmidt , Alan M. Webb
IPC分类号: G06F900
CPC分类号: G06F9/44563
摘要: A system includes first and second virtual machines (VM) representing a master and a client respectively. A class file is loading by the first virtual machine into shared memory. The class file includes sharable and non-sharable data, and also references sharable and non-sharable data (including code). When it is desired to load the same class into the second virtual machine, the class is first located within said shared memory. A mirror copy of the class is then formed within private memory in the second virtual machine. Finally the non-sharable data of the class is completed in the private memory. Thereafter, an application in the second virtual machine can utilise the class on the basis of the sharable data in the shared memory of the first virtual machine, and the non-sharable data from the private memory of the second virtual machine.
摘要翻译: 系统包括分别代表主机和客户机的第一和第二虚拟机(VM)。 第一个虚拟机将一个类文件加载到共享内存中。 类文件包括可共享和不可共享的数据,并且还引用可共享和不可共享的数据(包括代码)。 当希望将相同的类加载到第二虚拟机中时,该类首先位于所述共享存储器内。 然后在第二个虚拟机中的私有内存中形成类的镜像副本。 最后,该类的非共享数据在私有内存中完成。 此后,第二虚拟机中的应用可以基于第一虚拟机的共享存储器中的共享数据和来自第二虚拟机的专用存储器的不可共享数据来利用该类。
-
公开(公告)号:US07134123B1
公开(公告)日:2006-11-07
申请号:US09584641
申请日:2000-05-31
申请人: Robert F. Berry , Donna N. Dillenberger , Elizabeth A. Hutchison , Susan P. Paice , Donald W. Schmidt , Alan M. Webb
发明人: Robert F. Berry , Donna N. Dillenberger , Elizabeth A. Hutchison , Susan P. Paice , Donald W. Schmidt , Alan M. Webb
IPC分类号: G06F9/455
CPC分类号: G06F9/445
摘要: A computer system includes a virtual machine supporting an object-oriented environment, in which programs to run on the virtual machine are formed from classes including methods. Applications run on the virtual machine. After a first such application has run on the virtual machine, a reset is performed on the virtual machine. The reset calls a first method in a class to perform a tidy-up operation which effectively puts the virtual machine back into a clean state. Subsequently a second application can be started on the virtual machine. As part of this start-up, the system calls a second method in the class to perform a reinitialization of the class.
摘要翻译: 计算机系统包括支持面向对象环境的虚拟机,其中在虚拟机上运行的程序由包括方法的类形成。 应用程序在虚拟机上运行。 在虚拟机上运行了第一个此类应用程序之后,将在虚拟机上执行重置。 reset会调用类中的第一个方法来执行整理操作,这有效地使虚拟机恢复到干净的状态。 随后可以在虚拟机上启动第二个应用程序。 作为这个启动的一部分,系统调用类中的第二个方法来执行类的重新初始化。
-