摘要 |
A method includes, using a static analysis performed on code, analyzing the code to determine a set of unchanged objects and modifying the code to exercise a singleton-pattern technique for one or more members of the set of unchanged objects. The method also includes outputting the modified code. Apparatus and program products are also disclosed. Another method includes accessing code from a client, and in response to any of the code being source code, compiling the source code into object code until all the code from the client comprises object code. The method further includes, using a static analysis performed on the object code, analyzing the object code to determine a set of unchanged objects and modifying the object code to exercise a singleton-pattern technique for one or more members of the set of unchanged objects. The method additionally includes returning the modified object code to the client. |
申请人 |
INTERNATIONAL BUSINESS MACHINES CORPORATION;CENTONZE, PAOLINA;MALKIN, PETER, K.;PISTOIA, MARCO |
发明人 |
CENTONZE, PAOLINA;MALKIN, PETER, K.;PISTOIA, MARCO |