Patent ID: 6996810

Claim:
A computer-implemented method for lazily registering dynamically generated code and corresponding unwind information of a process, said method comprising: a) detecting a request for first unwind information related to first corresponding dynamically generated code; in response to the request instructing an application program interface to facilitate registration of data to be deferred until execution of the first corresponding dynamically generated code, b) creating a module which includes said data related to said first unwind information and said first corresponding dynamically generated code; c) providing said application program interface which allows said data to be registered such that dynamic registration of said first unwind information and said first corresponding dynamically generated code is enabled; and d) coupling an application program interface invocation code sequence to said first corresponding dynamically generated code such that upon execution of said first corresponding dynamically generated code, said application program interface invocation code sequence instructs said application program interface to facilitate registration of said data.