Guided just-in-time specialization

被引:1
|
作者
Lima, Caio [1 ]
Cezar, Junio [1 ]
Leobas, Guilherme Vieira [1 ]
Rohou, Erven [2 ]
Quintao Pereira, Fernando Magno [1 ]
机构
[1] Ave Antonio Carlos 6627, Belo Horizonte, MG, Brazil
[2] Univ Rennes, Inria, CNRS, IRISA, Rennes, France
关键词
Code specialization; Just-in-time compilation; Program annotation; Performance; !text type='Java']Java[!/text]Script; !text type='JAVA']JAVA[!/text]SCRIPT; SEMANTICS; LANGUAGE;
D O I
10.1016/j.scico.2019.102318
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
JavaScript's portability across a vast ecosystem of browsers makes it today a core building block of the web. Yet, building efficient systems in JavaScript is still challenging. Because this language is so dynamic, JavaScript programs provide little information that just-in-time compilers can use to carry out safe optimizations. Motivated by this observation, we propose to guide the JIT compiler in the task of code specialization. To this end, we have augmented the language with an annotation that indicates which function call sites are likely to benefit from specialization. To support the automatic annotation of programs, we have introduced a novel static analysis that identifies profitable specialization points. We have implemented our ideas in JavaScriptCore, the built-in JavaScript engine for WebKit. The addition of guided specialization to this engine required us to change it in several non-trivial ways, which we describe in this paper. Such changes let us observe speedups of up to 1.7x on programs present in synthetic benchmarks. (C) 2019 Elsevier B.V. All rights reserved.
引用
收藏
页数:17
相关论文
共 50 条
  • [41] FROM JUST-IN-CASE TO JUST-IN-TIME
    DOUGHERTY, JR
    [J]. BUSINESS SOFTWARE REVIEW, 1988, 7 (05): : 71 - &
  • [42] MODELING OF AN AUTOMATED GUIDED VEHICLE SYSTEM (AGVS) IN A JUST-IN-TIME (JIT) ENVIRONMENT
    OCCENA, LG
    YOKOTA, T
    [J]. INTERNATIONAL JOURNAL OF PRODUCTION RESEARCH, 1991, 29 (03) : 495 - 511
  • [43] Just-in-time is not just for manufacturing: a service perspective
    Canel, C
    Rosen, D
    Anderson, EA
    [J]. INDUSTRIAL MANAGEMENT & DATA SYSTEMS, 2000, 100 (1-2) : 51 - 60
  • [44] A Just-in-Time Customizable Processor
    Chen, Liang
    Tarango, Joseph
    Mitra, Tulika
    Brisk, Philip
    [J]. 2013 IEEE/ACM INTERNATIONAL CONFERENCE ON COMPUTER-AIDED DESIGN (ICCAD), 2013, : 524 - 531
  • [45] PLANNING FOR JUST-IN-TIME PRODUCTION
    CHAHARBAGHI, K
    DAVIES, BL
    MINETT, SC
    [J]. INTERNATIONAL JOURNAL OF COMPUTER INTEGRATED MANUFACTURING, 1989, 2 (05) : 268 - 274
  • [46] JUST-IN-TIME, AN INTERNATIONAL VIEW
    LEICHT, T
    SCHWEIGERT, U
    [J]. WERKSTATTSTECHNIK ZEITSCHRIFT FUR INDUSTRIELLE FERTIGUNG, 1990, 80 (03): : 115 - 116
  • [47] JUST-IN-TIME PARALLEL SIMULATION
    Hannon, Christopher
    Jin, Dong
    Santhi, Nandakishore
    Eidenbenz, Stephan
    Liu, Jason
    [J]. 2018 WINTER SIMULATION CONFERENCE (WSC), 2018, : 640 - 651
  • [48] Just-in-time landmarks recognition
    Adorni, G
    Gori, M
    Mordonini, M
    [J]. REAL-TIME IMAGING, 1999, 5 (02) : 95 - 107
  • [49] BECOMING A JUST-IN-TIME VENDOR
    KAPOOR, V
    [J]. QUALITY PROGRESS, 1988, 21 (06) : 56 - 59
  • [50] Just-in-time knowledge management
    Kerschberg, L
    Jeong, H
    [J]. PROFESSIONAL KNOWLEDGE MANAGEMENT, 2005, 3782 : 1 - 18