摘要:
Observation and analysis based optimization of software code is disclosed. An expected value is chosen for a dynamic attribute that cannot be determined, prior to execution of the associated software code, to be guaranteed to have that expected value at runtime. An optimized version of the software code is generated, including one or more optimizations based on an assumption that the dynamic attribute will have the expected value. Non-exhaustive examples of a dynamic attribute include a variable type; a location in memory; a location in which a global object, property, or variable is stored; the contents of a global function or method; and a value of a global property or variable. A check is performed during execution of the optimized version of the software code, prior to executing the portion that has been optimized based on the assumption, to verify that the dynamic attribute has the expected value. In the event that it is determined at runtime that the dynamic attribute does not have the expected value, execution reverts to backup code that is not based on the assumption that dynamic attribute will have the expected value.
摘要:
Disclosed herein are systems, methods, and non-transitory computer-readable storage media for verifying a digital object obtained from a remote host. A system configured to practice the method downloads a first object from a first remote source and presents the user with a first request to allow access to the first object. Upon user approval, a multitude of characteristics associated with the object are stored to facilitate future uses of the object. When a second object is downloaded from a second remote source, the system checks the database for a stored user approval. Access to the second object is allowed if the multitude of characteristics associated with the first and second objects match. If the system does not find a match, the user is presented with a second request to allow access to the object.
摘要:
An electronic data insurance management system may prompt a user, for a selected insurance product, to identify an indemnity level for insuring against loss to one or more electronic data sets, receive input identifying the indemnity level, and link an identifier for one of the one or more electronic data sets with a data insurance policy or policy certificate defined by the identified indemnity level. The system may also create a data storage account for the one of the one or more electronic data sets on a data management system using the identifier such that an association is formed between the data storage account and the data insurance policy or policy certificate.
摘要:
Delayed insertion of safepoint related code is disclosed. Optimization processing is performed with respect to an intermediate representation of a source code. The optimized intermediate representation is analyzed programmatically to identify a safepoint and insert safepoint related code associated with the safepoint. In some embodiments, analyzing the optimized intermediate representation programmatically comprises determining where to place the safepoint within a program structure of the source code as reflected in the intermediate representation.
摘要:
Techniques for processing computer code are disclosed. In one example, an indication that a computer code is to begin execution at a portion of code other than a starting portion of the code is received, and a runtime state associated with the portion of the code at which execution is to begin is constructed. In some examples, execution of the portion of code is initiated. In some examples, a program counter associated with the portion of the code is used to initiate execution of the code. In some examples, the computer code comprises a fallback code associated with a previously executing code.
摘要:
Techniques for processing source code written in a traditionally interpreted language such as JavaScript, or another dynamic and/or interpreted language, are disclosed. In one example, compiled code associated with the source code is constructed and executed. An assumption on which a specific aspect of the compiled code is based (e.g., an optimization) is tested at a checkpoint of the compiled code. A roll over to fallback code is performed if the test indicates the assumption is not true.
摘要:
Techniques for processing source code written in a traditionally interpreted language such as JavaScript, or another dynamic and/or interpreted language, are disclosed. In one example, compiled code associated with the source code is constructed and executed. An assumption on which a specific aspect of the compiled code is based (e.g., an optimization) is tested at a checkpoint of the compiled code. A roll over to fallback code is performed if the test indicates the assumption is not true.
摘要:
An agreement is created between a first entity and a second entity under which the second entity agrees to provide data protection services for use by a third entity. A backup copy of the third entity's data is created and maintained at a location controlled by the second entity. If the third entity suffers a data loss, a replacement copy of the data is generated from the backup copy. The first entity provides compensation for the second entity's efforts to restore the third entity's lost data. If the second entity is unable to restore the data, the third entity is compensated for its data loss.
摘要:
Variable type knowledge based call specialization is disclosed. An indication is received that a variable that is an argument of a function or operation the behavior of which depends at least in part on a data type of the argument is of a first data type. Machine code that implements a first behavior that corresponds to the first data type, but not a second behavior that corresponds to a second data type other than the first data type, is generated for the function or operation.
摘要:
An electronic data insurance management system may prompt a user, for a selected insurance product, to identify an indemnity level for insuring against loss to one or more electronic data sets, receive input identifying the indemnity level, and link an identifier for one of the one or more electronic data sets with a data insurance policy or policy certificate defined by the identified indemnity level. The system may also create a data storage account for the one of the one or more electronic data sets on a data management system using the identifier such that an association is formed between the data storage account and the data insurance policy or policy certificate.