Patent ID: 7603407
Filing Date: 2009-10-13
Classification: G06F

Abstract:
1. A method in a data processing system for facilitating reuse of data blocks, the method comprising the steps of: generating at a requesting program a request data object based on a requested data block, the request data object including at least one of binary data of the requested data block and an initial reference to binary data of the requested data block; communicating the request data object to a determination component; receiving at the determination component the request data object; obtaining a request data block identifier for the requested data block derived from constituent data of the requested data block; determining, based on the request data block identifier, whether the requested data block is a registered data block represented by an existing request data object in a request data object collection; when the data block is not a registered data block, registering the request data object in the collection of data blocks by creating a new request data object based on the request data object and inserting the new request data object into the request data object collection; generating a registration handle object for accessing the data block, the registration handle object comprising at least one of the binary data of the requested data block, the initial reference to binary data of the requested data block, and an existing reference to binary data of the requested data block; returning the registration handle object to the requesting program; allocating a temporary memory area for the requested data block; analyzing a memory reference in the registration handle object to determine whether the memory reference points to other than the first temporary memory area; and releasing the temporary memory area when the memory reference points to other than the first temporary memory area.