Patent ID: 9703615
Date: 2017-07-11
CPC Classifications: G06F

Claim:
1. A method comprising: by a computer system, replacing an application method with an intermediary method, wherein the application method comprises application program code configured to perform one or more steps of a computation, the intermediary method comprises intermediary program code configured to invoke the application program code based on an execution condition being satisfied, wherein the replacing causes recursive invocations of the application method by the application program code to execute the intermediary method; by the computer system, receiving an invocation of the application method, wherein the invocation includes input data for the computation; by the computer system, when the invocation is received, executing the intermediary program code, wherein the executing the intermediary program code comprises: by the computer system, determining, based on the execution condition, that the application program code is to be invoked to perform the steps of the computation; by the computer system, when the application program code is to be invoked, executing the application program code based on the input data, wherein the executing the application program code comprises: by the computer system, performing one or more of the steps of the computation based on the input data, and by the computer system, invoking the application method recursively to attempt to perform another step of the one or more steps of the computation based on the input data; wherein the invoking the application method recursively causes another execution of the intermediary program code; and by the computer system, returning a response that includes a result of the computation; and by the computer system, when the application program code is not to be invoked, returning a response indicating an invalid result.