Optimizing intermediate representation of script code for atomic execution
AssigneeFacebook, Inc.
InventorsAli-Reza Adl-Tabatabai, Guilherme de Lima Ottoni, Michael Paleczny
Life of this patent
Estimating the term…
Loading patent…
AssigneeFacebook, Inc.
InventorsAli-Reza Adl-Tabatabai, Guilherme de Lima Ottoni, Michael Paleczny
Estimating the term…
Disclosed here are methods, systems, paradigms and structures for optimizing intermediate representation (IR) of a script code for atomic execution. Atomic execution of the script is achieved by generating portions of the IR as an atomic transaction. In an atomic transaction, a series of operations either all execute, or none executes. The IR includes checkpoints that evaluate to one of two possible values. The checkpoint evaluates to a first value when there is no error during execution, and evaluates to a second value when an error occurs. The IR is optimized for atomic execution by regenerating a portion of the IR including the checkpoint and code associated with the checkpoint as a transaction. When an error occurs during the execution of the transaction, the transaction is aborted and a state of execution of the script code is reverted to a state prior to the beginning of the transaction.
A method, comprising:
A method, comprising:
A system, comprising:
Dependencies are inferred from the claim text.