System and method for managing immutable objects
AssigneeRed Hat, Inc.
InventorsFilip Elias, Filip Nguyen
Life of this patent
Estimating the term…
Loading patent…
AssigneeRed Hat, Inc.
InventorsFilip Elias, Filip Nguyen
Estimating the term…
A system and method of managing immutable objects includes monitoring new object construction, detecting construction of an object, determining a key for the object, looking the key up in a persistent storage system, when the key is found in the persistent storage system, loading the object from the persistent storage system, and when the key is not found in the persistent storage system constructing the object, determining whether the object is immutable, and storing the object in the persistent storage system when the object is immutable. In some examples, determining whether the object is immutable includes examining each primitive type data member of the object, examining each reference type constructor parameter of the object to determine whether the reference type constructor parameter is defensively copied, examining all function calls used by the object to determine whether the function calls preserve immutability, and recursively examining each reference type data member of the object.
A method of managing immutable objects, the method comprising:
A non-transitory machine-readable medium comprising a first plurality of machine-readable instructions which when executed by one or more processors associated with one or more computing systems are adapted to cause the one or more processors to perform a method comprising:
A system for managing immutable objects, the system comprising:
Dependencies are inferred from the claim text.