发明名称 Adaptive cloud aware just-in-time (JIT) compilation
摘要 Clients accessing cloud computing services are allocated respective virtual machines, each client specifying defining parameters for its virtual machine(s). A just-in-time compiler executing within a client's virtual machine optimizes the executable code it generates based at least in part, on the defining parameters of the virtual machine. During execution of an application using the just-in-time compiler, the compiler is notified of changes made to the defining parameters of the virtual machine. Responsive to such notification, the just-in-time compiler thereafter optimizes compiled code it generates for execution in the virtual machine as modified.
申请公布号 US9459849(B2) 申请公布日期 2016.10.04
申请号 US201414157732 申请日期 2014.01.17
申请人 International Business Machines Corporation 发明人 Bates Cary L.;Muras Brian R.
分类号 G06F9/45;G06F9/455;G06F9/44 主分类号 G06F9/45
代理机构 代理人 Truelson Roy W.
主权项 1. A method for providing computing services, comprising computer-executed actions of: allocating a respective virtual machine to each of a plurality of clients of a cloud computer service, each virtual machine having a respective set of defining parameters; wherein a first virtual machine of a first client of said plurality of clients includes a just-in-time compiler supporting execution of at least one application on said first virtual machine, said just-in-time compiler generating executable code for execution on said first virtual machine, said executable code generated by said just-in-time compiler being optimized according to the set of defining parameters of said first virtual machine; receiving a request from said first client to alter the set of defining parameters of said first virtual machine; altering the set of defining parameters of said first virtual machine responsive to said request from said first client to create an altered first virtual machine; responsive to altering the set of defining parameters of said first virtual machine, causing at least one code module of an application executing in said first virtual machine which was previously compiled to executable code by said just-in-time compiler to be recompiled to executable code by said just-in-time compiler, wherein the recompilation comprises: with respect to each of a plurality of code modules of said application executing in said first virtual machine which were previously compiled by said just-in-time compiler, making a selective determination whether to recompile the respective code module, wherein said selective determination is based at least in part on an amount of difference of at least one parameter of said set of defining parameters between an original value of the at least one parameter and an altered value of the at least one parameter; andrecompiling the respective code module according to a result of said selective determination, the executable code generated by recompilation being optimized according to the set of defining parameters of the altered first virtual machine.
地址 Armonk NY US