发明名称 OPTIMIZED EXECUTION OF DYNAMIC LANGUAGES
摘要 In one aspect, a method for optimizing execution of dynamic language code is provided, the method includes identifying a first dynamic language function call during runtime, the function call including argument values for one or more arguments of the function, calculating a type signature for the one or more argument values of the function, determining if a function associated with the type signature is stored in a cache, looking up the function in the cache when the function associated with the type signature is stored in the cache and dynamically calling the function associated with the type signature when the specialized function for the type signature is not stored in the cache.
申请公布号 US2016179489(A1) 申请公布日期 2016.06.23
申请号 US201514972004 申请日期 2015.12.16
申请人 Google Inc. 发明人 BOULOS Solomon;Sugerman Jeremy
分类号 G06F9/45;G06F9/44 主分类号 G06F9/45
代理机构 代理人
主权项 1. A method for optimizing execution of dynamic language code, the method comprising: identifying a first dynamic language function call during runtime, the function call including argument values for one or more arguments of the function; calculating a type signature for the one or more argument values of the function; determining if a function associated with the type signature is stored in a cache; looking up the function in the cache when the function associated with the type signature is stored in the cache; and dynamically calling the function associated with the type signature when the function for the type signature is not stored in the cache.
地址 Mountain View CA US