An apparatus, program product, and method of processing a request to create an immutable object reuse an existing immutable object in appropriate circumstances to represent redundant data without the necessity for creating an additional immutable object. Prior to creating a new object in response to a request to create an immutable object, a determination is made as to whether a matching immutable object already exists that has the same contents as the requested immutable object. If so, creation of a new object is inhibited, and a reference to the matching immutable object is returned in response to the request.

Un aparato, un producto del programa, y un método de procesar una petición de crear una reutilización inmutable del objeto un objeto inmutable existente en circunstancias apropiadas para representar datos redundantes sin la necesidad para crear un objeto inmutable adicional. Antes de crear un nuevo objeto en respuesta a una petición de crear un objeto inmutable, se hace una determinación si existe un objeto inmutable que empareja ya que tiene el mismo contenido que el objeto inmutable solicitado. Si es así la creación de un nuevo objeto se inhibe, y una referencia al objeto inmutable que empareja se vuelve en respuesta a la petición.

 
Web www.patentalert.com

< (none)

< Memory controller with programmable delay counter for tuning performance based on timing parameter of controlled memory storage device

> Automatic query and transformative process

> (none)

~ 00042