Dynamic Software Updates: A VM-centric Approach

被引:19
|
作者
Subramanian, Suriya [1 ]
Hicks, Michael [2 ]
McKinley, Kathryn S. [1 ]
机构
[1] Univ Texas Austin, Austin, TX 78712 USA
[2] Univ Maryland, College Pk, MD 20742 USA
关键词
Languages; Experimentation; Reliability; dynamic software updating; virtual machine technology; garbage collection;
D O I
10.1145/1543135.1542478
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Software evolves to fix bugs and add features. Stopping and restarting programs to apply changes is inconvenient and often costly. Dynamic software updating (DSU) addresses this problem by updating programs while they execute, but existing DSU systems for managed languages do not support many updates that occur in practice and are inefficient. This paper presents the design and implementation of JVOLVE, a DSU-enhanced Java VM. Updated programs may add, delete, and replace fields and methods anywhere within the class hierarchy. JVOLVE implements these updates by adding to and coordinating VM classloading, just-in-time compilation, scheduling, return barriers, on-stack replacement, and garbage collection. JVOLVE is safe: its use of bytecode verification and VM thread synchronization ensures that an update will always produce type-correct executions. JVOLVE is flexible: it can support 20 of 22 updates to three open-source programs-Jetty web server, JavaE-mailServer, and CrossFTP server-based on actual releases occurring over 1 to 2 years. JVOLVE is efficient: performance experiments show that JVOLVE incurs no overhead during steady-state execution. These results demonstrate that this work is a significant step towards practical support for dynamic updates in virtual machines for managed languages.
引用
收藏
页码:1 / 12
页数:12
相关论文
共 50 条
  • [31] Software Updates
    不详
    STATA JOURNAL, 2024, 24 (04): : 788 - 789
  • [32] Software Updates
    不详
    STATA JOURNAL, 2023, 23 (01): : 298 - 299
  • [33] Software Updates
    Pacicco, F.
    Vena, L.
    Venegoni, A.
    STATA JOURNAL, 2021, 21 (04): : 1081 - 1081
  • [34] Software Updates
    不详
    STATA JOURNAL, 2023, 23 (02): : 595 - 596
  • [35] Software Updates
    不详
    STATA JOURNAL, 2022, 22 (01):
  • [36] Software Updates
    不详
    STATA JOURNAL, 2023, 23 (04): : 1096 - 1096
  • [37] Software Updates
    不详
    STATA JOURNAL, 2015, 15 (02): : 605 - 606
  • [38] An Architectural Approach to Support Online Updates of Software Product Lines
    Weyns, Danny
    Michalik, Bartosz
    Helleboogh, Alexander
    Boucke, Nelis
    2011 9TH WORKING IEEE/IFIP CONFERENCE ON SOFTWARE ARCHITECTURE (WICSA), 2011, : 204 - 213
  • [39] Using Runtime State Analysis to Decide Applicability of Dynamic Software Updates
    Selajev, Oleg
    Gregersen, Allan
    ICSOFT: PROCEEDINGS OF THE 12TH INTERNATIONAL CONFERENCE ON SOFTWARE TECHNOLOGIES, 2017, : 38 - 49
  • [40] Analyzing software updates: Should you build a dynamic updating infrastructure?
    Gharaibeh, Bashar
    Rajan, Hridesh
    Chang, J. Morris
    Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), 2011, 6603 LNCS : 371 - 385