Optimising computer program code
AssigneeTaravu Ltd.
InventorPressenna Sockalingasamy
Life of this patent
Estimating the term…
Abstract
A computer-implemented method for optimising object-oriented program code comprises receiving object-oriented program code and performing a static analysis on a call of the object-oriented program code to simulate an effect of the call on an abstract state. Static-analysis data is generated, representative of the effect of the call on the abstract state. An object graph, generated from the program code, is introspectively accessed to determine a property of the call. Optimised program code is generated from the received object-oriented program code, using the static-analysis data and the determined property to optimise the call in the optimised program code.
Claims20
A computer-implemented method for optimising object-oriented program code, the method comprising:
- receiving object-oriented program code;
- performing a static analysis on a call of the object-oriented program code to simulate an effect of the call on an abstract state, and generating static-analysis data representative of the effect of the call on the abstract state;
- introspectively accessing an object graph, generated from the program code, to determine a property of the call;
- and
- generating optimised program code from the received object-oriented program code, wherein generating the optimised program code comprises using the static-analysis data and the determined property to optimise the call in the optimised program code.
A computer processing system for optimising object-oriented program code, the computer processing system comprising a processor and a memory storing computer software comprising instructions which, when executed on the processor, cause the processor to implement a method comprising:
- receiving object-oriented program code;
- performing a static analysis on a call of the object-oriented program code to simulate an effect of the call on an abstract state, and generating static-analysis data representative of the effect of the call on the abstract state;
- introspectively accessing an object graph, generated from the program code, to determine a property of the call;
- and
- generating optimised program code from the received object-oriented program code, wherein generating the optimised program code comprises using the static-analysis data and the determined property to optimize the call in the optimised program code.
A non-transitory computer-readable medium storing computer software for optimising object-oriented program code, the computer software comprising instructions which, when executed by a processor, cause the processor to implement a method comprising:
- receiving object-oriented program code;
- performing a static analysis on a call of the object-oriented program code to simulate an effect of the call on an abstract state, and generating static-analysis data representative of the effect of the call on the abstract state;
- introspectively accessing an object graph, generated from the program code, to determine a property of the call;
- and
- generating optimised program code from the received object-oriented program code, wherein generating the optimised program code comprises using the static-analysis data and the determined property to optimize the call in the optimised program code.
Dependencies are inferred from the claim text.