发明授权
- 专利标题: Class sharing between multiple virtual machines
- 专利标题(中): 多个虚拟机之间的类共享
-
申请号: US09584151申请日: 2000-05-31
-
公开(公告)号: US06738977B1公开(公告)日: 2004-05-18
- 发明人: 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
- 主分类号: G06F900
- IPC分类号: G06F900
摘要:
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.