Invention Grant
- Patent Title: System and method for managing immutable objects
- Patent Title (中): 用于管理不可变对象的系统和方法
-
Application No.: US13899294Application Date: 2013-05-21
-
Publication No.: US09189206B2Publication Date: 2015-11-17
- Inventor: Filip Eliá{hacek over (s)} , Filip Nguyen
- Applicant: Red Hat, Inc.
- Applicant Address: US NC Raleigh
- Assignee: Red Hat, Inc.
- Current Assignee: Red Hat, Inc.
- Current Assignee Address: US NC Raleigh
- Agency: Haynes and Boone, LLP
- Main IPC: G06F9/44
- IPC: G06F9/44 ; G06F9/455

Abstract:
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.
Public/Granted literature
- US20140351789A1 SYSTEM AND METHOD FOR MANAGING IMMUTABLE OBJECTS Public/Granted day:2014-11-27
Information query