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
相关论文
共 44 条
  • [41] *SUN MICR, 2004, JAV PLATF DEB ARCH
  • [42] TEMPERO E, 2008, P INT WORKSH HOT TOP
  • [43] Yuasa T., 1990, Journal of Information Processing, V13, P284
  • [44] ZORN B, 2005, COMMUNICATION AUG