×

Failsafe mechanism for dynamic instrumentation of software using callbacks

  • US 8,782,612 B2
  • Filed: 05/11/2010
  • Issued: 07/15/2014
  • Est. Priority Date: 05/11/2010
  • Status: Expired due to Fees
First Claim
Patent Images

1. A computer-implemented method, comprising:

  • at an application server, establishing a persistent connection between a socket of the application server and a socket of a computing device;

    receiving a request at the application server to add temporary dynamic instrumentation to an application at the application server, the request is received from a computing device via the respective connection;

    with the request to add the temporary dynamic instrumentation, receiving a request to establish a callback to the computing device;

    in response to the request to add the temporary dynamic instrumentation, adding the temporary dynamic instrumentation to the application during a runtime of the application;

    in response to the request to establish the callback, monitoring the socket of the application server to determine if the persistent connection is unexpectedly lost, the monitoring is performed by code at the application server; and

    if the callback determines that the persistent connection is unexpectedly lost, restoring the application to a state which does not comprise the temporary dynamic instrumentation, wherein the callback determines that the persistent connection is unexpectedly lost by determining that the socket of the application server generates an event indicating that the persistent connection is unexpectedly lost.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×