Reducing Trace Selection Footprint for Large-scale Java']Java Applications without Performance Loss

被引:5
作者
Wu, Peng
Hayashizaki, Hiroshige
Inoue, Hiroshi
Nakatani, Toshio
机构
关键词
Algorithms; Experimentation; Performance; Trace selection and compilation; profiling; !text type='Java']Java[!/text;
D O I
10.1145/2076021.2048127
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
When optimizing large-scale applications, striking the balance between steady-state performance, start-up time, and code size has always been a grand challenge. While recent advances in trace compilation have significantly improved the steady-state performance of trace JITs for large-scale Java applications, the size control aspect of a trace compilation system remains largely overlooked. For instance, using the DaCapo 9.12 benchmarks, we observe that 40% of traces selected by a state-of-the-art trace selection algorithm are short-lived and, on average, each selected basic block is replicated 13 times in the trace cache. This paper studies the size control problem for a class of commonly used trace selection algorithms and proposes six techniques to reduce the footprint of trace selection without incurring any performance loss. The crux of our approach is to target redundancies in trace selection in the form of either short-lived traces or unnecessary trace duplication. Using one of the best performing selection algorithms as the baseline, we demonstrate that, on the DaCapo 9.12 benchmarks and DayTrader 2.0 on WebSphere Application Server 7.0, our techniques reduce the code size and compilation time by 69% and the start-up time by 43% while retaining the steady-state performance. On DayTrader 2.0, an example of large-scale application, our techniques also improve the steady-state performance by 10%.
引用
收藏
页码:789 / 804
页数:16
相关论文
共 22 条
  • [1] [Anonymous], LUAJIT DESIGN NOTES
  • [2] *AP SOFTW FDN, DAYTRADER
  • [3] Bala V., 2000, P C PROGR LANG DES I, P1
  • [4] SPUR: A Trace-Based JIT Compiler for CIL
    Bebenita, Michael
    Brandner, Florian
    Fahndrich, Manuel
    Logozzo, Francesco
    Schulte, Wolfram
    Tillmann, Nikolai
    Venter, Herman
    [J]. ACM SIGPLAN NOTICES, 2010, 45 (10) : 708 - 725
  • [5] BLACKBURN, 2006, P C OBJ OR PROGR SYS
  • [6] BOLZ C., 2011, P WORKSH PART EV PRO
  • [7] Bolz C. F., 2009, WORKSH IMPL COMP OPT
  • [8] BRUENING D, 2005, P INT S COD GEN OPT
  • [9] Bruening D., 2003, P INT S COD GEN OPT
  • [10] Gal A., 2006, P INT C VIRT EX ENV