Instance-reduction algorithm for garbage-collected language
AssigneeAlcatel
InventorThomas Chappell
Life of this patent
Estimating the term…
Loading patent…
AssigneeAlcatel
InventorThomas Chappell
Estimating the term…
A system and method for reducing object instances and making efficient use of memory. A WeakHashMap class provided by the Java programming language is utilized to maintain a map of unique objects in memory. When a new candidate object is presented, the map is searched for an equivalent object instance and returned for use if found. If an equivalent object instance is not found, the new candidate object is unique, and is therefore added to the map. Each entry of the map stores key and value pairs. In adding the new candidate object to the map, the key portion of the entry is set to the new candidate object. The value portion of the entry is set to a weak reference which also refers to the new candidate object. Once an object in the map is no longer in use, the object is automatically purged from the memory by making use of automatic garbage collection capabilities provided by Java.
In an object oriented programming environment, a method for reducing object instances stored in memory, the method comprising:
In an object oriented programming environment, a method for reducing object instances stored in memory, the method comprising:
In an object oriented programming environment, a method for reducing object instances stored in memory, the method comprising:
An object oriented programming system comprising:
An object oriented programming system comprising:
Dependencies are inferred from the claim text.