Patent ID: 7031989

Claim:
A method for performing dynamic stitching of a new module of executable code in a parallel processing environment, where said new module and another module previously loaded share access to a data object, said access being performed using a first data pointer associated with the new module and having a first pointer value and a second data pointer associated with the other module and having a second pointer value, the method comprising the steps of: loading said new module, so that said new module and the other module execute in parallel; creating a new data object for shared access by said new module during execution thereof and by the other module during execution thereof, in place of an old data object, the new data object being created when said new module is loaded; updating a first data freshness indicator in accordance with creation of the new data object; associating a value of the first freshness indicator with the old data object; establishing the first pointer value to permit access to the new data object by said new module; modifying the second pointer value, thereby terminating reference to the old data object and substituting reference to the new data object; updating a second data freshness indicator in accordance with access by the other module to shared data after creation of the new data object; and deleting the old data object when a comparison of said second data freshness indicator with the value associated with the old data object indicates that access to the old data object is not required.