Program analysis for safety guarantees in a Java virtual machine written in Java

  • Authors:
  • Jan-Willem Maessen;Vivek Sarkar;David Grove

  • Affiliations:
  • MIT Laboratory for Computer Science;IBM T.J. Watson Research Center;IBM T.J. Watson Research Center

  • Venue:
  • PASTE '01 Proceedings of the 2001 ACM SIGPLAN-SIGSOFT workshop on Program analysis for software tools and engineering
  • Year:
  • 2001

Quantified Score

Hi-index 0.00

Visualization

Abstract

In this paper, we report on our experiences with guaranteeing GC-pointer safety when using unsafe low-level language extensions to implement a JVM in Java. We give an overview of the original unsafe language extensions that were defined for use by Jalapeño implementers, and introduce sanitized replacements that capture common idioms while also guaranteeing GC-pointer safety. We also outline some simple static and dynamic checks for correct usage of low-level operations, and examine how code containing low-level operations can be optimized correctly and effectively.