发明名称 Execution guards in dynamic programming
摘要 A method for executing a machine code based on a dynamic language is disclosed. An execution guard is created as a value stored in a data structure. The value is representative of an expected condition or a set of conditions for a reusable portion of the machine code. The value representative of the expected condition(s) is compared to an actual value encountered later during execution of a portion of the machine code. The reusable machine code is executed if the actual value corresponds with the value representative of the expected condition(s). The execution guard is invalidated if any of the expected conditions changes.
申请公布号 US9207914(B2) 申请公布日期 2015.12.08
申请号 US201314137356 申请日期 2013.12.20
申请人 Microsoft Technology Licensing, LLC 发明人 Miadowicz Jedrzej;Man Curtis Cheng-Cheng;Lafreniere Louis
分类号 G06F9/44;G06F9/455 主分类号 G06F9/44
代理机构 代理人 Sullivan Kevin;Chinagudabha Raghu;Minhas Micky
主权项 1. A processor-implemented method for executing a machine code based on a dynamic language, including: creating a guard as a value stored in a data structure and representative of an expected condition for a reusable portion of the machine code with the processor; comparing the value representative of the expected condition to an actual value encountered later during execution of a portion of the machine code; executing the machine code if the actual value corresponds with the value representative of the expected condition; and invalidating the guard if the expected condition changes as a result of executing the machine code.
地址 Redmond WA US
您可能感兴趣的专利