Reference cache maintenance optimizer
AssigneeInternational Business Machines Corporation
InventorSathiskumar Palaniappan
Life of this patent
Estimating the term…
Abstract
Processors configured by aspects of the present invention optimize reference cache maintenance in a serialization system by serializing a plurality of objects into a buffer and determining whether any of the objects are repeated within the buffered serialized plurality. The configured processors insert an object repetition data signal within the serialized plurality of objects that indicates to a receiver whether or not any objects are determined to be repeated within the buffered serialized plurality of objects, and send the serialized plurality of objects with the inserted object repetition data signal as a single chunk to a receiver, wherein the inserted object repetition data signal conveys reference cache management instructions to the receiver.
Claims20
A computer-implemented method for optimizing reference cache maintenance in a serialization system, comprising executing on a computer processor the steps of:
- serializing a plurality of objects into a buffer;
- determining whether any of the plurality of objects are repeated within the buffered serialized plurality of objects;
- encoding a repeated object with a special value tag at a location of the repeated object within the serialized plurality of objects, wherein the repeated object is determined to be repeated within the serialized plurality of objects;
- inserting a first hexadecimal number value at a start of the location of the repeated object within the serialized plurality of objects;
- inserting a handle of the repeated object immediately after the first hexadecimal number value;
- and
- sending, as reference cache management instructions to a receiver, a single chunk comprising the serialized plurality of objects with the encoded repeated object, the inserted first hexadecimal number value and the inserted handle.
A system, comprising:
- a processor;
- a computer readable memory in circuit communication with the processor;
- and
- a computer readable storage medium in circuit communication with the processor;
- wherein the processor executes program instructions stored on the computer-readable storage medium via the computer readable memory and thereby:
- serializes a plurality of objects into a buffer;
- determines whether any of the plurality of objects are repeated within the buffered serialized plurality of objects;
- encodes a repeated object with a special value tag at a location of the repeated object within the serialized plurality of objects, wherein the repeated object is determined to be repeated within the serialized plurality of objects;
- inserts a first hexadecimal number value at a start of the location of the repeated object within the serialized plurality of objects;
- inserts a handle of the repeated object immediately after the first hexadecimal number value;
- and
- sends as reference cache management instructions to a receiver a single chunk comprising the serialized plurality of objects with the encoded repeated object, the inserted first hexadecimal number value and the inserted handle.
A computer program product for optimizing reference cache maintenance in a serialization system, the computer program product comprising:
- a computer readable storage medium having computer readable program code embodied therewith, wherein the computer readable storage medium is not a transitory signal per se, the computer readable program code comprising instructions for execution by a processor that cause the processor to:
- serialize a plurality of objects into a buffer;
- determine whether any of the plurality of objects are repeated within the buffered serialized plurality of objects;
- encode a repeated object with a special value tag at a location of the repeated object within the serialized plurality of objects, wherein the repeated object is determined to be repeated within the serialized plurality of objects;
- insert a first hexadecimal number value at a start of the location of the repeated object within the serialized plurality of objects;
- insert a handle of the repeated object immediately after the first hexadecimal number value;
- and
- send as reference cache management instructions to a receiver a single chunk comprising the serialized plurality of objects with the encoded repeated object, the inserted first hexadecimal number value and the inserted handle.
Dependencies are inferred from the claim text.