Deep copying objects in a collocated environment
First Claim
Patent Images
1. A method comprising:
- detecting, by a computer, an in-process call between a client and a server, wherein the client and the server share a common virtual machine instance, and wherein the in-process call includes a source object;
determining an internal class structure of the common virtual machine instance based on an object type of the source object;
identifying field offset data in the internal class structure;
conducting a field copy from the source object to a destination object based on the field offset data, wherein the source object corresponds to a first class loader and the destination object corresponds to a second class loader;
repeating the field copy for a plurality of fields in the source object to complete an object copy of the source object; and
repeating the object copy for a plurality of source objects in the in-process call.
0 Assignments
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.
13 Citations
13 Claims
-
1. A method comprising:
-
detecting, by a computer, an in-process call between a client and a server, wherein the client and the server share a common virtual machine instance, and wherein the in-process call includes a source object; determining an internal class structure of the common virtual machine instance based on an object type of the source object; identifying field offset data in the internal class structure; conducting a field copy from the source object to a destination object based on the field offset data, wherein the source object corresponds to a first class loader and the destination object corresponds to a second class loader; repeating the field copy for a plurality of fields in the source object to complete an object copy of the source object; and repeating the object copy for a plurality of source objects in the in-process call. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A method comprising:
-
detecting, by a computer, an in-process call between a client and a server, wherein the client and the server share a common virtual machine instance; identifying field offset data in an internal class structure of the common virtual machine instance; conducting a field copy from the source object to the destination object based on the field offset data; conducting 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 repeating the object copy for a plurality of source objects of the in-process call. - View Dependent Claims (7, 8, 9, 10, 11, 12, 13)
-
Specification