Deep copying objects in a collocated environment
First Claim
Patent Images
1. A computer program product comprising:
- a non-transitory computer readable storage medium; and
computer usable code stored on the non-transitory computer readable storage medium, where, if executed by a processor, the computer usable code causes a computer to;
detect an in-process call between a client and a server, wherein the client and the server are to share a common virtual machine instance, and wherein the in-process call is to include a source object;
determine an internal class structure of the common virtual machine instance based on an object type of the source object;
conduct a field copy from the source object to a destination object based on field offset data, wherein the source object is to correspond to a first class loader and the destination object is to correspond to a second class loader;
repeat the field copy for a plurality of fields in the source object to complete an object copy of the source object; and
repeat the object copy for a plurality of source objects in the in-process call.
1 Assignment
0 Petitions
Accused Products
Abstract
Systems and methods of passing arguments between client and server contexts may provide for detecting an in-process call between a client and a server, wherein the client and the server share a common virtual machine instance. An object copy from a source object of the in-process call to a destination object can be conducted based on an internal class structure of the virtual machine instance. The object copy procedure may be repeated for a plurality of source objects of the in-process call.
-
Citations
13 Claims
-
1. A computer program product comprising:
-
a non-transitory computer readable storage medium; and computer usable code stored on the non-transitory computer readable storage medium, where, if executed by a processor, the computer usable code causes a computer to; detect an in-process call between a client and a server, wherein the client and the server are to share a common virtual machine instance, and wherein the in-process call is to include a source object; determine an internal class structure of the common virtual machine instance based on an object type of the source object; conduct a field copy from the source object to a destination object based on field offset data, wherein the source object is to correspond to a first class loader and the destination object is to correspond to a second class loader; repeat the field copy for a plurality of fields in the source object to complete an object copy of the source object; and repeat the object copy for a plurality of source objects in the in-process call. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A computer program product comprising:
-
a non-transitory computer readable storage medium; and computer usable code stored on the non-transitory computer readable storage medium, where, if executed by a processor, the computer usable code causes a computer to; detect an in-process call between a client and a server, wherein the client and the server are to share a common virtual machine instance; identify field offset data in an internal class structure; conduct a field copy from the source object to the destination object based on the field offset data; conduct an object copy from a source object of the in-process call to a destination object based on the internal class structure of the common virtual machine instance; and repeat the object copy for a plurality of source objects in the in-process call. - View Dependent Claims (7, 8, 9, 10, 11, 12, 13)
-
Specification