Comprehensive system wide cross-reference mechanism using runtime data collection
AssigneeInternational Business Machines Corporation
InventorsMark J. Anderson, Scott Forstie, Jeffrey M. Uehling
Life of this patent
Estimating the term…
Abstract
Systems, methods, and computer program products to perform an operation comprising receiving, from an application executing on a system, a request to access a data file, wherein the data file is referenced by a variable name in a source code of the application, receiving data describing the request, wherein the data describing the request is obtained from a runtime stack of the application and includes a name of the application and a name of the data file, wherein the name of the data file is used as a value for the variable name, and storing an indication that the application accessed the data file in a cross-reference data store for the system.
Claims20
A method, comprising:
- receiving, from an application executing on a system, a request to access a data file, wherein the data file is referenced by a variable name in a source code of the application;
- receiving data describing the request, wherein the data describing the request is obtained from a runtime stack of the application and includes a name of the application and a name of the data file, wherein the name of the data file is used as a value for the variable name;
- referencing a cross-reference data store for the system using at least the name of the application and the name of the data file;
- and
- upon determining that an entry in the cross-reference data store associating the name of the application and the name of the data file does not exist, storing an indication that the application accessed the data file in the cross-reference data store for the system.
A computer program product, comprising:
- a computer-readable storage medium having computer readable program code embodied therewith, the computer readable program code executable by a processor to perform an operation comprising:
- receiving, from an application executing on a system, a request to access a data file, wherein the data file is referenced by a variable name in a source code of the application;
- receiving data describing the request, wherein the data describing the request is obtained from a runtime stack of the application and includes a name of the application and a name of the data file, wherein the name of the data file is used as a value for the variable name;
- referencing a cross-reference data store for the system using at least the name of the application and the name of the data file;
- and
- upon determining that an entry in the cross-reference data store associating the name of the application and the name of the data file does not exist, storing an indication that the application accessed the data file in the cross-reference data store for the system.
A system, comprising:
- a processor;
- and
- a memory storing one or more instructions which, when executed by the processor, performs an operation comprising:
- receiving, from an application executing on a system, a request to access a data file, wherein the data file is referenced by a variable name in a source code of the application;
- receiving data describing the request, wherein the data describing the request is obtained from a runtime stack of the application and includes a name of the application and a name of the data file, wherein the name of the data file is used as a value for the variable name;
- referencing a cross-reference data store for the system using at least the name of the application and the name of the data file;
- and
- upon determining that an entry in the cross-reference data store associating the name of the application and the name of the data file does not exist, storing an indication that the application accessed the data file in the cross-reference data store for the system.
Dependencies are inferred from the claim text.