From Java to UpgradeJ: an empirical study

  • Authors:
  • Ewan Tempero;Gavin Bierman;James Noble;Matthew Parkinson

  • Affiliations:
  • University of Auckland;Microsoft Research;Victoria University of Wellington;University of Cambridge

  • Venue:
  • Proceedings of the 1st International Workshop on Hot Topics in Software Upgrades
  • Year:
  • 2008

Quantified Score

Hi-index 0.00

Visualization

Abstract

UpgradeJ is a variant of Java that offers linguistic support for lightweight dynamic software updating (DSU), or hotswapping. UpgradeJ allows co-existing multiple versions of classes and adapts Java's type system to provide incremental typechecking. This paper provides some preliminary, but encouraging, results of an empirical study into the applicability of UpgradeJ. By analysing how classes in popular, open-source Java applications change from release to release, we are able to estimate the proportion of those changes that could be made dynamically in UpgradeJ. Although these applications were not designed with DSU in mind we find that many of the changes to classes could be supported by the UpgradeJ DSU model without any significant code rewriting.