×

State capture after execution in dependent sequences

  • US 9,047,407 B2
  • Filed: 12/16/2011
  • Issued: 06/02/2015
  • Est. Priority Date: 12/16/2011
  • Status: Active Grant
First Claim
Patent Images

1. A method by which a computing system executes a dynamic code segment sequence in an environment, the code segment sequence comprising a plurality of sequential code segments and the method comprising the following acts:

  • executing a first code segment;

    capturing a first environmental state of a first instance of an execution context, the first environmental state representing a state of at least a portion of the first instance of the execution context after the execution of the first code segment is stopped;

    executing a second code segment;

    writing a second environmental state of a second instance of the execution context, wherein writing the second environmental state of the second instance of the execution context comprises performing the following for at least one context component in the first instance of the execution context;

    detecting that a read is to be performed on the at least one context component, and in response creating a proxy context component for the second environmental state of the second instance of the execution context, the proxy context component referencing the at least one context component as captured in the first environmental state of the first instance of the execution context;

    detecting that a write is to be performed on the at least one context component, and in response;

    copying values from the at least one context component as captured in the first environmental state of the first instance of the execution context to the proxy context component in the second environmental state of the second instance of the execution context;

    declassifying the proxy context component in the second environmental state of the second instance of the execution context as a proxy for said at least one context component; and

    performing the write on the copied values copied to the declassified proxy context component.

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