发明名称 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.
申请公布号 US9459850(B2) 申请公布日期 2016.10.04
申请号 US201414305139 申请日期 2014.06.16
申请人 International Business Machines Corporation 发明人 Bates Cary L.;Muras Brian R.
分类号 G06F9/45;G06F9/455;G06F9/44 主分类号 G06F9/45
代理机构 代理人 Truelson Roy W.
主权项 1. A computer program product, comprising: a non-transitory computer-readable media upon which are recorded a plurality of computer-executable instructions, wherein said instructions, when executed by at least one computer system, cause the computer system to perform: receiving a notification that a set of defining parameters of a first virtual machine in a cloud computing environment have been altered, said cloud computing environment supporting the execution of a plurality of virtual machines on behalf of a plurality of clients;wherein said first virtual machine includes a just-in-time compiler supporting execution of at least one application on said first virtual machine, said just-in-time complier 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;responsive to receiving the notification that the set of defining parameters of said first virtual machine have been altered, causing at least one 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 each 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