首页> 中文期刊>计算机应用 >对用户交互响应进行加速的即时编译技术

对用户交互响应进行加速的即时编译技术

     

摘要

For the bottleneck code that impacts the user interaction speed, the current Just-In-Time (JIT) compiler cannot select it accurately or accelerate it during program start-up phase. The code selection strategy and compiling mode of current JIT compiler were improved in this paper. According to the new code selection strategy, application could select the code to be compiled on its own initiative in a given situation, which ensured all the bottleneck codes to be selected and accelerated. As for the new compiling mode, the native code could be saved and be used for the next program running, which ensured bottleneck code to be accelerated even during program start-up phase. The experimental result shows that the response speed of user interaction by using the improved JIT compiler is about two times that by using the old JIT compiler.%对于影响用户交互响应速度的瓶颈代码段,现有即时编译器存在无法准确选取和在程序启动阶段没有可用的本地码进行加速的问题,这影响了即时编译技术在用户交互响应方面的加速效果.为此,对即时编译器原有的代码选择策略和编译模式进行了改进.在代码选择策略方面,应用程序可以根据实际运行情况主动选择要编译的代码段,保证所有影响用户交互响应速度的瓶颈代码段都能被选取并被加速;在编译模式方面,本次编译得到的本地码可以保存并供程序下次运行时使用,保证在程序启动阶段也有本地码可用来加速.应用程序启动速度的实验表明,改进的即时编译器能够提升1倍的用户响应速度.

著录项

相似文献

  • 中文文献
  • 外文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号