Code partitioning for enhanced performance
AssigneeInternational Business Machines Corporation
InventorsTaimur Javed, Philip Loats, William J. Tracey, II, David A. Wood, III
Life of this patent
Estimating the term…
Abstract
A method and system for enhancing the execution performance of program code. An analysis of the program code is used to generate code usage information for each code module. For each module, the code usage information is used to determine whether the code module should be separated from its original module container. If so, the code module is migrated to a new module container, and the code module in the original module container is replaced with a reference to the code module in the new module container.
Claims24
A method for enhancing the execution performance of program code, the program code including at least one original module container, the original module container including at least one code module, the method comprising:
- receiving code usage information for the code module in the original module container, the code usage information generated from an analysis of the program code;
- determining that the code module in the original module container should be separated from the original module container based, at least in part, on the code usage information;
- transporting the code module to a new module container;
- and
- replacing the code module in the original module container with a reference to the code module in the new module container.
A system for enhancing execution performance of program code, the system comprising:
- a computer program including at least one original module container, the original module container including at least one code module;
- code usage information for the code module in the original module container;
- and
- a program modifier configured to automatically migrate the code module to a new module container according, at least in part, to the usage information and replace the migrated code module in the original module container with a reference to the code module in the new module container.
A computer program product embodied in a tangible media embodying comprising:
- computer readable program codes coupled to the tangible media for enhancing the execution performance of software code, the software code including at least one original module container, the original module container including at least one code module, the computer program code comprising computer executable instructions configured to:
- receive code usage information for the code module in the original module container, the code usage information generated from an analysis of the program code;
- determine that the code module in the original module container should be separated from the original module container based, at least in part, on the code usage information;
- transport the code module to a new module container;
- and
- replace the code module in the original module container with a reference to the code module in the new module container.
Dependencies are inferred from the claim text.