Claims
- 1. A method of characterizing objects generated during at least a partial run of a program, each object being characterized by a plurality of alternative properties which can be selected, said method comprising:
a) instrumenting said at least partial run of said program to determine characterization information about each of said objects; b) determining a desirable property for said objects; c) determining a correlation between said desirable property and said characterization information for each of said objects; d) using said correlation to select an property for an object subsequently created during an at least partial run of said program based upon characterization information about the subsequently created object.
- 2. A method as set forth in claim 1, wherein the determining of an initial property in step (b) is carried out by minimizing total cost of interaction among components during at least a partial run of said program.
- 3. A method as set forth in claim 1, wherein said characterization information of an object comprises at least one of said object's class, classification of said object's creator object, and a code identification of said object's creation site.
- 4. A method as set forth in claim 1, wherein said alternative properties comprise a string representation selected from ASCII, EBCDIC, and UNICODE.
- 5. A method as set forth in claim 1, wherein said alternative properties comprise a data structure selected from hash table, tree, and compressed data structures.
- 6. A computer readable medium including computer instructions executable on a computer for carrying out a method of characterizing objects generated during at least a partial run of a program, each object being characterized by a plurality of alternative properties which can be selected, said method comprising:
a) instrumenting said at least partial run of said program to determine characterization information about each of said objects; b) determining a desirable property for each of said objects; c) determining a correlation between said desirable property and said characterization information for each of said objects; d) using said correlation to select an property for an object subsequently created during an at least partial run of said program based upon characterization information about the subsequently created object.
- 7. A computer readable medium as set forth in claim 6, wherein the determining of an initial property in step (b) is carried out by minimizing total cost of interaction among components during at least a partial run of said program.
- 8. A computer readable medium as set forth in claim 6, wherein said characterization information of an object comprises at least one of said object's class, classification of said object's creator object, and a code identification of said object's creation site.
- 9. A computer readable medium as set forth in claim 6, wherein said alternative properties comprise a string representation selected from ASCII, EBCDIC, and UNICODE.
- 10. A computer readable medium as set forth in claim 6, wherein said alternative properties comprise a data structure selected from hash table, tree, and compressed data structures.
CROSS-REFERENCE TO RELATED APPLICATIONS
[0001] This application claims the benefit of U.S. Provisional Application No. 60/267,573, filed Feb. 9, 2001.
[0002] The present application is related to the present inventors' applications entitled “Minimizing Interaction Costs Among Components Of Computer Programs” Ser. No. ______ (IBM Docket YOR920020022), and “Program Components Having Multiple Selectable Implementations” Ser. No. ______ (IBM Docket YOR920020023), which were filed on the same day as the present application. These related applications are incorporated herein by reference.
Provisional Applications (1)
|
Number |
Date |
Country |
|
60267573 |
Feb 2001 |
US |